Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MunifTanjim/minimo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunifTanjim <muniftanjim@gmail.com>2019-09-28 17:43:44 +0300
committerMunifTanjim <muniftanjim@gmail.com>2019-09-28 17:45:49 +0300
commite23a6ba3efca0bbb0ad9652dde9c7175c8e8a2c5 (patch)
treed1da0c0209d96103b62a639f35def2f3d86f8e09
parent5e36e14d00d9b75f7dcc275b8d8c7a17467b657e (diff)
fix [feature]: mathjax
-rw-r--r--data/config/default/mathjax.json2
-rw-r--r--exampleSite/content/docs/mathjax-support.md9
2 files changed, 8 insertions, 3 deletions
diff --git a/data/config/default/mathjax.json b/data/config/default/mathjax.json
index 6969990..9323d96 100644
--- a/data/config/default/mathjax.json
+++ b/data/config/default/mathjax.json
@@ -1,6 +1,6 @@
{
"library": {
- "path": "//unpkg.com/mathjax/MathJax.js",
+ "path": "//unpkg.com/mathjax@2.7.5/MathJax.js",
"config": "TeX-MML-AM_CHTML"
},
"config": {}
diff --git a/exampleSite/content/docs/mathjax-support.md b/exampleSite/content/docs/mathjax-support.md
index ecb4b25..3fea2da 100644
--- a/exampleSite/content/docs/mathjax-support.md
+++ b/exampleSite/content/docs/mathjax-support.md
@@ -1,5 +1,6 @@
---
date: 2018-02-27T18:00:00+06:00
+lastmod: 2019-09-28T21:00:00+06:00
title: MathJax Support
authors: ["muniftanjim"]
categories:
@@ -57,7 +58,7 @@ The default configuration options look like this:
```json
{
"library": {
- "path": "//unpkg.com/mathjax/MathJax.js",
+ "path": "//unpkg.com/mathjax@2.7.5/MathJax.js",
"config": "TeX-MML-AM_CHTML"
},
"config": {}
@@ -81,7 +82,7 @@ For exmaple, if you want to enable `$`...`$` delimiters for in-line mathematics,
```json
{
"library": {
- "path": "//unpkg.com/mathjax/MathJax.js",
+ "path": "//unpkg.com/mathjax@2.7.5/MathJax.js",
"config": "TeX-MML-AM_CHTML"
},
"config": {
@@ -93,6 +94,10 @@ For exmaple, if you want to enable `$`...`$` delimiters for in-line mathematics,
}
```
+### Notice
+
+MathJax version above `2.7.5` is not guaranted to work.
+
#### Related Guides
- [Using a configuration file](https://docs.mathjax.org/en/latest/configuration.html#using-a-configuration-file)