mirror of
https://github.com/alvierahman90/gronk.git
synced 2024-11-22 07:19:53 +00:00
Tell pandoc to mathjax for html math
This commit is contained in:
parent
d147e56080
commit
23f81a28d8
@ -200,7 +200,8 @@ def main(args):
|
|||||||
html = pypandoc.convert_file(filename, 'html', extra_args=[
|
html = pypandoc.convert_file(filename, 'html', extra_args=[
|
||||||
f'--template={args.template}',
|
f'--template={args.template}',
|
||||||
'-V', f'filehistory={filehistory}',
|
'-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)
|
pathlib.Path(output_filename).parent.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user