-
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -497,6 +497,38 @@ canvas_nest: | |
# z-index property of the background | ||
zIndex: -1 | ||
|
||
# --------------------------------------------------------------- | ||
# Math and Chart config | ||
# --------------------------------------------------------------- | ||
math: | ||
enable: true | ||
|
||
# Only the page which has `math: true` in Front-matter will render. | ||
# If true, it will load mathjax / katex srcipt EVERY PAGE. | ||
per_page: false | ||
|
||
engine: katex | ||
|
||
# See: https://github.com/mathjax/MathJax/ | ||
# hexo-renderer-pandoc (or hexo-renderer-kramed) needed to full MathJax support. | ||
mathjax: | ||
cdn: https://cdn.jsdelivr.net/npm/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML | ||
|
||
# See: https://mhchem.github.io/MathJax-mhchem/ | ||
mhchem: | ||
enable: false | ||
mhchem_js: https://cdn.jsdelivr.net/npm/[email protected]/mhchem.min.js | ||
|
||
# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin) needed to full Katex support. | ||
katex: | ||
cdn: https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css | ||
|
||
copy_tex: | ||
# See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex | ||
enable: true | ||
copy_tex_js: https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/copy-tex.min.js | ||
copy_tex_css: https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/copy-tex.css | ||
|
||
# --------------------------------------------------------------- | ||
# Other config | ||
# --------------------------------------------------------------- | ||
|