gluon.tools.Expose

This commit is contained in:
Massimo Di Pierro
2012-02-21 00:06:47 -06:00
parent a8145a6ad4
commit 5316998975
3 changed files with 66 additions and 1 deletions
+16
View File
@@ -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__ = """