Tell pandoc to mathjax for html math

This commit is contained in:
Akbar Rahman 2021-10-06 11:27:19 +01:00
parent d147e56080
commit 23f81a28d8
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -200,7 +200,8 @@ def main(args):
html = pypandoc.convert_file(filename, 'html', extra_args=[
f'--template={args.template}',
'-V', f'filehistory={filehistory}',
'-V', f'licenseFull={notes_license}'
'-V', f'licenseFull={notes_license}',
'--mathjax'
])
pathlib.Path(output_filename).parent.mkdir(parents=True, exist_ok=True)