Merge pull request #133 from abeaumont/mathjax-cdn-update
Mathjax cdn update
This commit is contained in:
commit
7d87d483a0
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ post with `format: cl-who` and the plugin will do the rest.
|
|||
posts. Default value is `nil`.
|
||||
|
||||
- `:location` specifies the location of the `MathJax.js` file. The
|
||||
default value is `"http://cdn.mathjax.org/mathjax/latest/MathJax.js"`.
|
||||
default value is `"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"`.
|
||||
This is useful if you have a local copy of MathJax and want to use that
|
||||
version.
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
(some #'mathjax-p (index-content index)))))
|
||||
|
||||
(defun enable (&key force config (preset "TeX-AMS-MML_HTMLorMML")
|
||||
(location "http://cdn.mathjax.org/mathjax/latest/MathJax.js"))
|
||||
(location "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"))
|
||||
(flet ((inject-p (x)
|
||||
(when (or force (mathjax-p x))
|
||||
(format nil *mathjax-header* config location preset))))
|
||||
|
|
Loading…
Add table
Reference in a new issue