Skip to content

Commit

Permalink
Fix a few typo errors in docs (theme-next#864)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang authored May 3, 2019
1 parent 4c15aa4 commit 3261f60
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ toc:
wrap: false
# If true, all level of TOC in a post will be displayed, rather than the activated part of it.
expand_all: false
# Maximum heading depth of generated toc. You can set it in one post through `toc_max_depth` in Front Matter.
# Maximum heading depth of generated toc. You can set it in one post through `toc_max_depth` in Front-matter.
max_depth: 6

sidebar:
Expand Down Expand Up @@ -356,7 +356,7 @@ wechat_subscriber:
# Reward (Donate)
reward_settings:
# If true, reward would be displayed in every article by default.
# You can show or hide reward in a specific article throuth `reward: true | false` in Front Matter.
# You can show or hide reward in a specific article throuth `reward: true | false` in Front-matter.
enable: false
animation: false
#comment: Donate comment here
Expand Down Expand Up @@ -498,14 +498,14 @@ math:
enable: false

# Default (true) will load mathjax / katex script on demand.
# That is it only render those page which has `mathjax: true` in Front Matter.
# That is it only render those page which has `mathjax: true` in Front-matter.
# If you set it to false, it will load mathjax / katex srcipt EVERY PAGE.
per_page: true

engine: mathjax
#engine: katex

# hexo-rendering-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
# hexo-renderer-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
mathjax:
cdn: //cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
#cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML
Expand Down Expand Up @@ -541,7 +541,7 @@ quicklink:
enable: false

# Quicklink (quicklink.umd.js script) is loaded on demand
# Add `quicklink: true` in Front Matter of the page or post you need
# Add `quicklink: true` in Front-matter of the page or post you need
# Home page and archive page can be controlled through home and archive options below
home: true
archive: true
Expand Down
6 changes: 3 additions & 3 deletions docs/MATH.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,14 @@ math:
enable: false
# Default(true) will load mathjax/katex script on demand
# That is it only render those page who has 'mathjax: true' in Front Matter.
# That is it only render those page who has 'mathjax: true' in Front-matter.
# If you set it to false, it will load mathjax/katex srcipt EVERY PAGE.
per_page: true
engine: mathjax
#engine: katex
# hexo-rendering-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
# hexo-renderer-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
mathjax:
# For newMathJax CDN (cdnjs.cloudflare.com) with fallback to oldMathJax (cdn.mathjax.org).
cdn: //cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
Expand Down Expand Up @@ -235,7 +235,7 @@ This option is to control whether to render Math Equations every page.

The behavior of default (`true`) is to render Math Equations **on demand**.

It will only render those posts which have `mathjax: true` in their Front Matter.
It will only render those posts which have `mathjax: true` in their Front-matter.

For example:

Expand Down
8 changes: 4 additions & 4 deletions docs/zh-CN/MATH.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,14 @@ math:
enable: false
# Default(true) will load mathjax/katex script on demand
# That is it only render those page who has 'mathjax: true' in Front Matter.
# That is it only render those page who has 'mathjax: true' in Front-matter.
# If you set it to false, it will load mathjax/katex srcipt EVERY PAGE.
per_page: true
engine: mathjax
#engine: katex
# hexo-rendering-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
# hexo-renderer-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
mathjax:
# Use 2.7.1 as default, jsdelivr as default CDN, works everywhere even in China
cdn: //cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-AMS-MML_HTMLorMML
Expand Down Expand Up @@ -238,9 +238,9 @@ math:

这个选项是控制是否在每篇文章都渲染数学公式;

默认(`true`) 的行为是**只对 Front Matter 中含有 `mathjax: true` 的文章进行数学公式渲染**。
默认(`true`) 的行为是**只对 Front-matter 中含有 `mathjax: true` 的文章进行数学公式渲染**。

如果 Front Matter 中不含有 `mathjax: true`,或者 `mathjax: false`,那么 NexT 将不会对这些文章进行数学公式渲染。
如果 Front-matter 中不含有 `mathjax: true`,或者 `mathjax: false`,那么 NexT 将不会对这些文章进行数学公式渲染。

例如:

Expand Down

0 comments on commit 3261f60

Please sign in to comment.