add settings for the preview.

Need to update the README
This commit is contained in:
Mathieu PATUREL
2017-01-08 17:44:17 +11:00
parent 0143428114
commit 0e6660a331
5 changed files with 50 additions and 8 deletions

View File

@ -34,6 +34,8 @@ def create_preview(window, file_name):
preview.set_name(get_preview_name(file_name))
preview.set_scratch(True)
preview.set_syntax_file('Packages/MarkdownLivePreview/.sublime/'
'MarkdownLivePreview.hidden-tmLanguage')
return preview