forked from timonwong/OmniMarkupPreviewer
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgithub.sublime-settings
More file actions
89 lines (82 loc) · 4.52 KB
/
github.sublime-settings
File metadata and controls
89 lines (82 loc) · 4.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* Default settings, DO NOT MODIFY */
{
"server_host": "127.0.0.1",
"server_port": 51004,
"refresh_on_modified": true,
// delay after modified, in milliseconds
"refresh_on_modified_delay": 300,
"refresh_on_saved": true,
// User defined command for launching preview in web browser
// For example:
// Launching preview using Google Chrome in OS X:
// ["open", "-a", "Google Chrome", "{url}"]
"browser_command": [],
// User public static files should be placed into
// ${packages}/User/N4-MarkupPreview/public/
// User templates should be placed into:
// ${packages}/User/N4-MarkupPreview/templates/
// Requires browser reload
// Built-in templates: github, github-v1
"html_template_name": "github",
// Polling interval for content changes in web browsers, in milliseconds
// Requires browser reload
"ajax_polling_interval": 300,
// list of renderers to be ignored, case sensitive.
// Valid renderers are: "CreoleRenderer", "MarkdownRenderer", "PodRenderer",
// "RDocRenderer", "RstRenderer", "TextitleRenderer"
// for example, to disable Textile and Pod renderer:
// "ignored_renderers": ["TextitleRenderer", "PodRenderer"]
"ignored_renderers": ["LiterateHaskellRenderer"],
// Enable MathJax (http://www.mathjax.org/)
// MathJax javascript libraries will downloaded automatically, it may take some while.
// When MathJax is properly installed into N4-MarkupPreview/public/mathjax, you
// have to reload your browser to get mathjax work.
// KNOWN ISSUES:
// * It may be slow base on your computer/browser performance, so you may want to
// tune the following options:
// "ajax_polling_interval", "refresh_on_modified" and "refresh_on_modified_delay"
"mathjax_enabled": true,
// Custom options for exporting
"export_options" : {
// follow "html_template_name" rules
// Built-in templates: github-export, github-v1-export
"template_name": "github-export",
// ".": export to the same folder as markup file.
// null: export to system temp folder.
// NOTE: folder shall exist, or it will fallback to system temp folder.
"target_folder": ".",
// format string for filename timestamp
"timestamp_format" : "_%y%m%d%H%M%S",
"copy_to_clipboard": false,
// Open with default browser or whatever customized in "browser_command".
"open_after_exporting": false
},
// MarkdownRenderer options
"renderer_options-MarkdownRenderer": {
// Valid extensions:
// - OFFICIAL (Python Markdown) -
// "extra": Combines ["abbr", "attr_list", "def_list", "fenced_code", "footnotes", "tables", "smart_strong"]
// For PHP Markdown Extra(http://michelf.ca/projects/php-markdown/extra/)
// "abbr": http://packages.python.org/Markdown/extensions/abbreviations.html
// "attr_list": http://packages.python.org/Markdown/extensions/attr_list.html
// "def_list": http://packages.python.org/Markdown/extensions/definition_lists.html
// "fenced_code": http://packages.python.org/Markdown/extensions/fenced_code_blocks.html
// "footnotes": http://packages.python.org/Markdown/extensions/footnotes.html
// "tables": http://packages.python.org/Markdown/extensions/tables.html
// "smart_strong": http://packages.python.org/Markdown/extensions/smart_strong.html
// "codehilite": http://packages.python.org/Markdown/extensions/code_hilite.html
// "meta": http://packages.python.org/Markdown/extensions/meta_data.html
// "toc": http://packages.python.org/Markdown/extensions/toc.html
// "nl2br": http://packages.python.org/Markdown/extensions/nl2br.html
// - 3RD PARTY -
// "strikeout": Strikeout extension syntax - `This ~~is deleted text.~~`
// "subscript": Subscript extension syntax - `This is water: H~2~O`
// "superscript": Superscript extension syntax 0 `2^10^ = 1024`
// "smarty" or "smartypants": Python-Markdown extension using smartypants to emit
// typographically nicer ("curly") quotes, proper
// ("em" and "en") dashes, etc.
// See: http://daringfireball.net/projects/smartypants/
// And: https://github.com/waylan/Python-Markdown/blob/master/docs/extensions/smarty.txt
"extensions": ["tables", "strikeout", "fenced_code", "codehilite"]
}
}