diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/engine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/engine.py b/engine/engine.py index 7cb45e9..0fb95e0 100644 --- a/engine/engine.py +++ b/engine/engine.py @@ -16,7 +16,7 @@ def item_from_path(path): res.setdefault('name', os.path.basename(x)) if ext in ['.md', '.markdown']: logging.info('Converting {}...'.format(path)) - res['body'] = pypandoc.convert_text(matchres.group(2), 'html', format='md') + res['body'] = pypandoc.convert_text(matchres.group(2), 'html', format='md', extra_args=['--mathjax']) elif ext == '.wiki': logging.info('Converting {}...'.format(path)) res['body'] = pypandoc.convert_text(matchres.group(2), 'html', format='vimwiki') |