-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
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
脚注中的数学公式不能正确渲染 #6
Comments
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"markdown-it": "^8.4.0",
"markdown-it-footnote": "^3.0.1",
"markdown-it-katex": "^2.0.3"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
|
|
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.4.4"
},
"dependencies": {
"hexo": "^3.4.4",
"hexo-all-minifier": "^0.4.1",
"hexo-deployer-git": "^0.3.1",
"hexo-filter-plantuml": "^1.0.1",
"hexo-generator-archive": "^0.1.5",
"hexo-generator-atom-markdown-writer-meta": "^0.1.1",
"hexo-generator-category": "^0.1.3",
"hexo-generator-feed": "^1.2.0",
"hexo-generator-index": "^0.2.0",
"hexo-generator-searchdb": "^1.0.8",
"hexo-generator-seo-friendly-sitemap": "0.0.21",
"hexo-generator-tag": "^0.2.0",
"hexo-inject": "^1.0.0",
"hexo-reference": "^1.0.3",
"hexo-renderer-ejs": "^0.3.1",
"hexo-renderer-markdown-it-plus": "^1.0.2",
"hexo-renderer-stylus": "^0.3.1",
"hexo-server": "^0.3.1",
"hexo-symbols-count-time": "^0.2.0",
"markdown-it-task-lists": "^2.1.0"
}
}
|
可以将 |
我创建个 |
好的。不过我使用的是 Data File 里面的 config。 目前 Hexo 可以在生成和部署的时候自定义 config 文件。 具体来说就是把根目录的 config 和主题里面的 config 合在一起,然后这个新的 config 会优先读取。 我的配置文件在这里 https://pastebin.com/2fL1gdxM |
尝试下将 |
不如把你的 config 发上来,我去 diff 一下吧
2018年1月15日 19:14,"Wafer Li" <notifications@github.com>写道:
不行
[image: image]
<https://user-images.githubusercontent.com/12459199/34939837-9a15c328-fa30-11e7-82d7-116dca630265.png>
[image: image]
<https://user-images.githubusercontent.com/12459199/34939849-a9e94518-fa30-11e7-8a49-ba2542a31f8d.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL4cv0nNUr-vIrxv2p2ou2cbTj0PsYTNks5tKzMOgaJpZM4ReLiK>
.
|
好的,我回去研究一下。 |
修好了,估计是我之前的配置写的有毒。 目前是把所有的自定义配置都写在原来的下面,然后就没问题了。 给一个 diff 参考一下: https://github.com/wafer-li/wafer-li.github.io/pull/3/files#diff-b0ca4ccbaf3d7058b5a8d76a7c67eee1 |
我建议你赶紧把 demo 删掉…… leancloud 目前好像有安全风险。 |
Thanks |
但是使用
node
的 REPL 运行markdown-it
再加上两个插件是能够渲染出来的。The text was updated successfully, but these errors were encountered: