Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
Merge pull request #381 from ihodev/master
Browse files Browse the repository at this point in the history
Expand user in html template path
  • Loading branch information
Julien Bouquillon authored May 8, 2017
2 parents a264bf3 + 47bcd62 commit 3e89a8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MarkdownPreview.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,9 @@ def run(self, view, wholefile=False, preview=False):

html_template = self.settings.get('html_template')

if html_template:
html_template = os.path.abspath(os.path.expanduser(html_template))

# use customized html template if given
if self.settings.get('html_simple', False):
html = body
Expand Down

0 comments on commit 3e89a8c

Please sign in to comment.