diff --git a/generate.py b/generate.py index bb4ba41..d26c3a4 100755 --- a/generate.py +++ b/generate.py @@ -106,7 +106,7 @@ class File: # self.content = markdowner.convert(f.read()) - self.content = subprocess.check_output(['pandoc', '-f', 'latex', '-t', 'html', + self.content = subprocess.check_output(['pandoc', '--mathjax=templates/mathjax/es5/tex-mml-chtml.js', '-f', 'latex', '-t', 'html', '%s/%s' % (root, name)]).decode() def expand_html(self): diff --git a/templates/file.html b/templates/file.html index d08fee7..88b7603 100644 --- a/templates/file.html +++ b/templates/file.html @@ -6,13 +6,9 @@