gluon.tools.Expose
This commit is contained in:
@@ -4,6 +4,22 @@
|
||||
import re
|
||||
import cgi
|
||||
|
||||
"""
|
||||
TODO: next version should use MathJax
|
||||
|
||||
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX", "output/HTML-CSS"],
|
||||
tex2jax: {
|
||||
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
|
||||
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
|
||||
},
|
||||
"HTML-CSS": { availableFonts: ["TeX"] }
|
||||
});
|
||||
</script>
|
||||
"""
|
||||
|
||||
__all__ = ['render', 'markmin2html']
|
||||
|
||||
__doc__ = """
|
||||
|
||||
Reference in New Issue
Block a user