Open hrtan99 opened 2 years ago
Thanks for opening this issue, maintainers will get back to you as soon as possible!
另外建议你贴一下相关的配置段
另外建议你贴一下相关的配置段
数学公式我配置的是服务端渲染,渲染引擎用的pandoc _config.yml文件:
mathjax:
tags: none # or 'ams' or 'all'
single_dollars: true # enable single dollar signs as in-line math delimiters
cjk_width: 0.9 # relative CJK char width
normal_width: 0.6 # relative normal (monospace) width
append_css: true # add CSS to pages rendered by MathJax
every_page: false # if true, every page will be rendered by MathJax regardless the `mathjax` setting in Front-matter
extension_options: {}
# you can put your extension options here
# see http://docs.mathjax.org/en/latest/options/input/tex.html#tex-extension-options for more detail
_config.next.yml文件:
math:
# Default (false) will load mathjax / katex script on demand.
# That is it only render those page which has `mathjax: true` in front-matter.
# If you set it to true, it will load mathjax / katex script EVERY PAGE.
every_page: false
mathjax:
enable: false
# Available values: none | ams | all
tags: none
katex:
enable: false
# See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex
copy_tex: false
这个应该是 hexo-filter-mathjax 的问题 暂时难以解决,需要改 Hexo 的 toc 生成机制
Issue Checklist
Expected behavior
文章目录含有数学公式时,应该进行渲染
Actual behavior
目录未渲染数学公式