Comments (8)
package.json
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "hexo generate",
"clean": "hexo clean",
"deploy": "hexo deploy",
"server": "hexo server"
},
"hexo": {
"version": "5.2.0"
},
"dependencies": {
"@next-theme/plugins": "^8.7.0",
"@waline/hexo-next": "^2.0.5",
"hexo": "^5.0.0",
"hexo-asset-img": "^1.0.0",
"hexo-cloud": "^0.1.1",
"hexo-deployer-git": "^2.1.0",
"hexo-encrypt-token": "^4.2.0",
"hexo-filter-mathjax": "^0.8.0",
"hexo-generator-archive": "^1.0.0",
"hexo-generator-category": "^1.0.0",
"hexo-generator-feed": "^3.0.0",
"hexo-generator-index": "^2.0.0",
"hexo-generator-json-content": "^4.2.3",
"hexo-generator-searchdb": "^1.4.0",
"hexo-generator-sitemap": "^2.1.0",
"hexo-generator-tag": "^1.0.0",
"hexo-related-popular-posts": "^5.0.1",
"hexo-renderer-ejs": "^1.0.0",
"hexo-renderer-pandoc": "^0.3.0",
"hexo-renderer-stylus": "^2.0.0",
"hexo-server": "^2.0.0",
"hexo-symbols-count-time": "^0.7.1",
"hexo-theme-next": "^8.10.0"
}
}
from hexo-filter-mathjax.
我用的 GitHub Action
安装 pandoc
, 因此每次应该是最新的: 2.9.2.1
apt-get install pandoc
https://packages.ubuntu.com/impish/pandoc
from hexo-filter-mathjax.
这是 pandoc 的问题,我们修不了。
from hexo-filter-mathjax.
这是 pandoc 的问题,我们修不了。
我卸载了此插件,再次使用 hexo-renderer-pandoc
是没问题的,https://moeci.com/posts/Ant-Colony-Algorithm/,
只是使用这个插件就不行了,建议文档里标注一下吧,让更多人知道,不过好像原理不一样吧,毕竟 Mathjax 通过 js 在前端渲染,我也不太清楚
from hexo-filter-mathjax.
我自己的测试显示,pandoc 的默认设置对引用块内\( \)
的处理与预期不符。你可以禁用全部数学插件,直接用 pandoc 渲染以下内容
> $\alpha$
> \(\alpha\)
from hexo-filter-mathjax.
感谢!是指先卸载 hexo-renderer-pandoc
吗?
上次测试确实没卸载这个,而是禁用 NexT
的 Mathjax
后安装 hexo-filter-mathjax
配置下就完了,后面我试试吧
from hexo-filter-mathjax.
> \(\alpha\)
这种我就没用过,图片上的是 网页效果,就使用 hexo-filter-mathjax
后的效果,
即 > $\alpha$
变成了 > \(\alpha\)
from hexo-filter-mathjax.
这样么……但我自己用下面这种语法
> $\alpha$
是完全正常的。可能是其它的插件冲突了。
from hexo-filter-mathjax.
Related Issues (20)
- 渲染效果有问题 HOT 10
- 如何避免不必要的inline渲染 HOT 4
- 不支持用\\或\\\\换行 HOT 4
- 能不能在配置文件里自定义mathjax输出类型和括号啊 HOT 3
- _config.mathjax.append_css HOT 13
- Error in applying html the markdown file HOT 3
- Are linebreaks supported? HOT 7
- Dependency Dashboard
- How can i specify a specific font size? HOT 1
- Do not start a new line when adding formula blocks HOT 2
- 文章目录未渲染数学公式 HOT 4
- Spaces before inline math is removed by hexo-html-minifier HOT 2
- 分段函数的问题 HOT 1
- physics宏包支持 HOT 4
- tikzjax HOT 6
- 公式随宽度缩放 HOT 4
- 矩阵公式未渲染 HOT 8
- 数学公式不显示编号 HOT 1
- 插入内容的时候插入的 css 样式导致摘要不对 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-filter-mathjax.