Skip to content

Commit 53be3d0

Browse files
authored
Merge pull request #88 from zivy/mathHTMLRendering
Update the call to pandoc to include mathjax.
2 parents aa13b7f + 529c666 commit 53be3d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/generate_documentation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,6 @@
6161
# update all paths to images and write to file
6262
fp.write(rst_content.replace("docs/images", "./images"))
6363
fp.flush()
64-
os.system(f"pandoc -s {fp.name} -o {f_name[:-3]}.html -c {css_file_name}")
64+
os.system(
65+
f"pandoc -s {fp.name} -o {f_name[:-3]}.html -c {css_file_name} --mathjax"
66+
)

0 commit comments

Comments
 (0)