restart from scratch

This commit is contained in:
Mathieu PATUREL
2017-01-03 16:22:25 +11:00
parent 93a04733da
commit 576956a8d1
10 changed files with 143 additions and 13 deletions

View File

@ -5,6 +5,9 @@ import sublime
file404 = os.path.join(os.path.dirname(__file__), '404.png')
def is_markdown_view(view):
return 'markdown' in view.scope_name(0)
def to_base64(path=None, content=None):
if path is None and content is None:
return to_base64(file404)