-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Incomplete display of HTML document, truncated at '#' in markdown document #5301
Comments
正文使用了 |
目前找到一个解决方法,改成这样就行了,烦: |
还是希望能够修复这个BUG,手动更改md源文件太麻烦了。 要使
'\{'也需要替换为'{% raw %}{{% endraw %}' |
{# 被当做了Nunjucks 的注释 |
如果文章中不存在标签插件,可以在front-matter中添加disableNunjucks: true |
现在我的处理是用sed对md源文件进行处理:
这只解决部分情况(反引号包裹的代码里面出现 |
Lines 146 to 151 in 6a91fb6
Before Nunjucks rendering it, |
使用默认安装,将md文档处理为网页时,启动hexo网站服务,本地查看文档内容不全。
When using the default installation to process MD documents as web pages, starting the hexo website service may result in incomplete local viewing of document content.
上面文档将只会显示部分处理内容:
The above document will only display partial processing content:
经过多次验证,只会在正文包含'#'字符时出现异常。
After multiple verifications, exceptions will only occur when the body contains the '#' character.
版本信息:
The text was updated successfully, but these errors were encountered: