Comments (8)
什么样的公式?换一个markdown渲染引擎试一下,Hexo默认使用"hexo-renderer-marked"引擎渲染网页,好像会强制转换一些特殊字符
from hexo-theme-pure.
就是正常的latex语法的公式。我也将原来的渲染引擎换成了“hexo-renderer-kramed”,也修改了一些转译字符,比如escape: /^\([`*[]()#$+-.!_>])/和 em: /^*((?:**|[\s\S])+?)*(?!*)/。这种方法没有效果。然后我又跟换为“hexo-renderer-pandoc”引擎,但也还是没有效果。所以我问下你在博客里插入公式的时候有没有遇到这样的情况。
from hexo-theme-pure.
更新了一下dev分支,已经支持数学公式,具体配置看#readme
from hexo-theme-pure.
我按照上面的步骤做了一下,为什么我没有生成mathjax.ejs文件,还是这个文件需要自己手动添加?还有就是你在博客中提到的加载CSS这部分是什么意思,我不太懂,能否解释一下,谢谢。
from hexo-theme-pure.
主题已经支持数学公式,用hexo-renderer-markdown-it-plus引擎替换默认的渲染引擎hexo-renderer-marked即可
from hexo-theme-pure.
嗯 对的 我已经替换了,但是还是不行,所以不知道问题出在哪儿?我是需要重新将主题pull下来么
from hexo-theme-pure.
本地主题要更新一下
from hexo-theme-pure.
OK,懂了,谢谢......
from hexo-theme-pure.
Related Issues (20)
- 请问怎么修改字体以及代码块的样式? HOT 1
- hexo更新到5.4了,计划重新写个主题,有没有同学支持? HOT 1
- 本地预览是没问题的,但是部署到githubpPage就会丢失了样式 HOT 1
- 下一页按钮出现代码
- 还有人在维护吗 HOT 1
- 取消显示侧边栏 toc 目录导航的序号
- 首页导航修改后多出menu. HOT 1
- gitalk评论会显示403的问题解决 HOT 2
- 部分js加载时间超长且导致页面加载缓慢的问题解决方案
- 如何在文章中插入图片,使用图床 HOT 1
- valine 评论无法使用
- 如何跳转站外链接 HOT 1
- 你好公式\\无法换行怎么解决
- 如何自己添加需要的icon
- 你好,文章表格过宽时,右边内容被覆盖,建议增加表格横向滚动条,谢谢
- 小白不会搞(求助 HOT 2
- 添加多个categories的时候,标签页面显示的浏览器地址不是根据categories平铺的而是叠加的 HOT 1
- 黑夜模式
- 分类模块下的文章排序很乱,既不按日期来也不按标题标号来,有方法解决吗?
- 一直好用突然报错Please make sure you have the correct access rights and the repository exists. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-pure.