Skip to content

Commit

Permalink
chore: Update config file
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyib committed Jul 20, 2019
1 parent d653844 commit f64c72b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ---------------------------------------------------------------
Expand Down

0 comments on commit f64c72b

Please sign in to comment.