61 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /*
 | |
|     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 default parser for converting markdown to html.
 | |
|         Warning for github API : if you have a ST2 linux build, Python is not built with SSL o it may not work
 | |
| 
 | |
|         default - 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",
 | |
| 
 | |
|     /*
 | |
|         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 supported filetypes for auto-reload on save
 | |
|     */
 | |
|     "markdown_filetypes": [".md", ".markdown", ".mdown"],
 | |
| 
 | |
|     /*
 | |
|         Strips the YAML front matter header and converts title to a heading
 | |
|     */
 | |
|     "strip_yaml_front_matter": false
 | |
| }
 | |
| 
 | |
| 
 |