-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMarkdownPreview.sublime-settings
114 lines (87 loc) · 3.97 KB
/
MarkdownPreview.sublime-settings
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
Markdown Preview default settings
*/
{
/*
Sets the default opener for html files
default - Use the system default HTML viewer
other - Set a full path to any executable. ex: /Applications/Google Chrome Canary.app or /Applications/Firefox.app
*/
"browser": "default",
/*
Sets the parser used for build markdown to html.
NOTE: The parser setting is not for the preview commands now.
The preivew have sperated commands for each parser markdown.
Warning for github API : if you have a ST2 linux build, Python is not built with SSL so it may not work
default - The current default parser is python-markdown parser.
markdown - Use the buildin python-markdown parser
markdown2 - (Deprecated) Use the builtin python-markdown2 parser.
github - User github API to convert markdown, so you can use GitHub flavored Markdown, see http://github.github.com/github-flavored-markdown/
*/
"parser": "default",
/*
Enable or not mathjax support.
*/
"enable_mathjax": false,
/*
Enable or not highlight.js support for syntax highlighting.
*/
"enable_highlight": false,
/*
List of enabled extensions of the selected markdown parser.
You can get the full list of extensions at:
* The markdown2 parser, the `default`: https://github.com/trentm/python-markdown2/wiki/Extras
* The python markdown parser, the `markdown`: http://pythonhosted.org/Markdown/extensions/index.html
default - use the default set of extensions, see table latter.
[ "default", "def_list", ... ] - a list of extensions. Use "default" to include the default extensions.
Parser | "default" Values
------------|---------------------------
default | ["footnotes", "toc", "fenced-code-blocks", "cuddled-lists" ]
markdown | ["extra", "toc"]
github | extensions values are not used.
*/
"enabled_extensions": "default",
/*
Default mode for the github Markdon parser : markdown (documents) or gfm (comments)
see http://developer.github.com/v3/markdown/#render-an-arbitrary-markdown-document
*/
"github_mode": "markdown",
/*
Uses an OAuth token to when parsing markdown with GitHub API. To create one for Markdown Preview, see https://help.github.com/articles/creating-an-oauth-token-for-command-line-use.
*/
// "github_oauth_token": "secret"
/*
Sets the default css file to embed in the HTML
default - Use the builtin CSS or github CSS, depending on parser config (markdown.css or github.css)
other - Set an absolute path or url to any css file
*/
"css": "default",
/*
Allow CSS overrides
true - Any file with matching a .markdown_filetype extension with .css will be loaded as an override
false - Matching files ignored
*/
"allow_css_overrides": true,
/*
Sets the JavaScript files to embed in the HTML
Set an array of URLs or filepaths to JavaScript files. Absolute filepaths will be loaded
into the script tag; others will be set as the `src` attribute. The order of files in the
array is the order in which they are embedded.
*/
// "js": ["http://example.com/script.js", "/path/to/script.js"],
/*
Sets the supported filetypes for auto-reload on save
*/
"markdown_filetypes": [".md", ".markdown", ".mdown"],
/*
Sets a custom temporary folder for MarkdownPreview-generated html files. Useful if you're
using LiveReload and don't want to use the OS default. The directory must already exist.
Examples: /tmp/custom_folder (Linux/OSX)
C:/TEMP/MYNOTES (Windows - note it's forward slash, even on Windows)
*/
// "path_tempfile": "/tmp/my_notes",
/*
Strips the YAML front matter header and converts title to a heading
*/
"strip_yaml_front_matter": false
}