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

github.com/queensferryme/hugo-theme-texify.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQueensferry <queensferry.me@gmail.com>2022-04-01 08:38:07 +0300
committerQueensferry <queensferry.me@gmail.com>2022-04-01 08:38:51 +0300
commitc8f9464f500c3c95f7b4873f69fdca32a93d8f74 (patch)
tree388da4c474abb62d930de6ddfeb8c0201d2f98d7 /config.toml
parentae93c58dcd8c3ac032a332149f3d312330a1946a (diff)
feat: support katex math rendering (#9)
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml13
1 files changed, 8 insertions, 5 deletions
diff --git a/config.toml b/config.toml
index d8bff0b..74684e9 100644
--- a/config.toml
+++ b/config.toml
@@ -63,12 +63,15 @@ Follow me on <a class=link href=https://github.com/queensferryme>GitHub</a>,
""" # notes in the website footer
keywords = ["hugo", "latex", "theme"] # website keywords
-customCSS = [] # path to custom css files, relative to './static/css/'
-customJS = [] # path to custom js files, relative to './static/js/'
+customCSS = [] # path to custom css files, relative to './static/css/'
+customJS = [] # path to custom js files, relative to './static/js/'
dateFormat = "2006-01-02" # date format, see https://gohugo.io/functions/format/
-enableFullRSS = true # rss full-text output
-enableHanEmph = true # use dots to emphasize chinese texts, see https://zh.wikipedia.org/wiki/%E7%9D%80%E9%87%8D%E5%8F%B7
-enableMathjax = true # enable mathjax for rendering math formulas
+enableFullRSS = true # rss full-text output
+enableHanEmph = true # use dots to emphasize chinese texts, see https://zh.wikipedia.org/wiki/%E7%9D%80%E9%87%8D%E5%8F%B7
+
+[params.math]
+enable = true # whether to enable math typesetting
+use = "katex" # katex or mathjax
# https://utteranc.es
[params.utterances]