13 lines
408 B
Common Lisp
13 lines
408 B
Common Lisp
(defpackage :coleslaw-mathjax
|
|
(:use :cl :coleslaw))
|
|
|
|
(in-package :coleslaw-mathjax)
|
|
|
|
(defvar *mathjax-header* "<script type=\"text/x-mathjax-config\">
|
|
MathJax.Hub.Config({tex2jax: {inlineMath: [['\\(','\\)']]}});
|
|
</script>
|
|
<script type=\"text/javascript\"
|
|
src=\"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML\">
|
|
</script>")
|
|
|
|
(coleslaw:add-injection *mathjax-header* :head)
|