##// END OF EJS Templates
use mathjax-style for math passing through pandoc to html
MinRK -
Show More
@@ -52,7 +52,7 b' def markdown2latex(source):'
52
52
53 def markdown2html(source):
53 def markdown2html(source):
54 """Convert a markdown string to HTML via pandoc"""
54 """Convert a markdown string to HTML via pandoc"""
55 return pandoc(source, 'markdown', 'html')
55 return pandoc(source, 'markdown', 'html', extra_args=['--mathjax'])
56
56
57 def markdown2rst(source):
57 def markdown2rst(source):
58 """Convert a markdown string to LaTeX via pandoc.
58 """Convert a markdown string to LaTeX via pandoc.
General Comments 0
You need to be logged in to leave comments. Login now