Copied over a couple of comments from math.rkt in https://github.com/jsmaniac/scribble-enhanced.git
This commit is contained in:
parent
f7f0340193
commit
8b2456cd56
|
@ -44,6 +44,10 @@
|
||||||
new-properties))
|
new-properties))
|
||||||
|
|
||||||
|
|
||||||
|
;; Other possible sources for MathJax:
|
||||||
|
;"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
|
||||||
|
;"http://c328740.r40.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=default"
|
||||||
|
;"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-HTML"
|
||||||
|
|
||||||
(define-runtime-path mathjax-dir "MathJax")
|
(define-runtime-path mathjax-dir "MathJax")
|
||||||
(define-runtime-path katex-dir "katex")
|
(define-runtime-path katex-dir "katex")
|
||||||
|
@ -81,6 +85,10 @@ eojs
|
||||||
|
|
||||||
(define load-mathjax-code
|
(define load-mathjax-code
|
||||||
(string->bytes/utf-8
|
(string->bytes/utf-8
|
||||||
|
;; To avoid the need to alter the MathJax configuration, add:
|
||||||
|
;; <script type="text/x-mathjax-config">
|
||||||
|
;; MathJax.Hub.Config({ tex2jax: {inlineMath: [['$','$']]} });
|
||||||
|
;; </script>
|
||||||
(load-script-string "MathJax/MathJax.js?config=default")))
|
(load-script-string "MathJax/MathJax.js?config=default")))
|
||||||
|
|
||||||
(define load-katex-code+style
|
(define load-katex-code+style
|
||||||
|
|
Loading…
Reference in New Issue
Block a user