We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
尝试使用 hexo-renderer-mathjax & hexo-renderer-kramed 渲染数学公式
行内公式(使用$和$作为标志)得到了正常的渲染,显现为 <mjx-container class="MathJax" jax="SVG">此处省略</mjx-container>
<mjx-container class="MathJax" jax="SVG">此处省略</mjx-container>
但是行间公式(使用$$和$$作为标志)没有得到渲染,在html中是一个script标签,如 <script type="math/tex; mode=display">S=\sqrt{P^2+Q^2}</script>
<script type="math/tex; mode=display">S=\sqrt{P^2+Q^2}</script>
如此的情况在Jason Hall's blog - 电路分析中的单位中可以看到,在“随便来点公式”标题后本应有行间公式,但并未得到显示。
查阅hexo-renderer-kramed项目的readme得知,其作用正是把公式转化为script标签,但是真正渲染需要在theme中添加js (https://github.com/sun11/hexo-renderer-kramed/blob/master/README.md)
请问这个js应该在Claudia主题文件夹的哪里添加呀?或者是哪里的配置需要修改呢? 谢谢!
The text was updated successfully, but these errors were encountered:
用it吧,这个主题其实没有数学公式支持 hexo-renderer-markdown-it-plus+katex
Sorry, something went wrong.
No branches or pull requests
尝试使用 hexo-renderer-mathjax & hexo-renderer-kramed 渲染数学公式
行内公式(使用$和$作为标志)得到了正常的渲染,显现为
<mjx-container class="MathJax" jax="SVG">此处省略</mjx-container>
但是行间公式(使用$$和$$作为标志)没有得到渲染,在html中是一个script标签,如
<script type="math/tex; mode=display">S=\sqrt{P^2+Q^2}</script>
如此的情况在Jason Hall's blog - 电路分析中的单位中可以看到,在“随便来点公式”标题后本应有行间公式,但并未得到显示。
查阅hexo-renderer-kramed项目的readme得知,其作用正是把公式转化为script标签,但是真正渲染需要在theme中添加js
(https://github.com/sun11/hexo-renderer-kramed/blob/master/README.md)
请问这个js应该在Claudia主题文件夹的哪里添加呀?或者是哪里的配置需要修改呢?
谢谢!
The text was updated successfully, but these errors were encountered: