preview markdown working

This commit is contained in:
Mathieu PATUREL
2017-01-04 12:24:05 +11:00
parent ac09c523e7
commit 6ad9e79926
6 changed files with 154 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import os.path
class MLPDevListener(sublime_plugin.EventListener):
def on_post_save(self, view):
return
if not (os.path.dirname(__file__) in view.file_name() and
view.file_name().endswith('.py')):
return