-
Notifications
You must be signed in to change notification settings - Fork 2k
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
图片块解析错误! #857
Comments
看上去不是NexT的bug |
@stevenjoezhang 我只是提出问题,内部什么情况就不知道啦,你们可以分析一下! |
@ivan-nginx It’s English now. |
@siaimes 能否换Hexo的默认主题,测试一下这个bug是否依然存在? |
@stevenjoezhang 试了一下,全新的Hexo文件夹也会存在这个问题,那我去Hexo反馈一下这个bug吧,谢谢啦! |
或者您试试把
|
@stevenjoezhang 全新的下载的hexo文件夹也受到我安装的包的影响吗? |
嗷,那就是Hexo的锅了…… |
[2] caption is added by the theme through this line, hexo-theme-next/source/js/utils.js Line 32 in aa20bb0
If you remove the above line, [2] will not be displayed as a caption if (3.jpg) is valid. But without that line, fancybox may break. |
这个只在 |
Indeed, hexo-theme-next/source/js/next-boot.js Line 29 in 51bf6a0
@siaimes |
do you mean hexo-theme-landscape? |
In short, theme-next said that it is a problem with hexo. Hexo said that it is a problem caused by the theme. Anyway, I just raised a potential problem, and the rest is left to you. I can only try to avoid such usage. |
If the issue is caused by fancybox, it should be independent of the code block... |
I'm trying to troubleshoot the issue with you. The thing is I can't reproduce the bug, so I need more information from you. I requested more information in my previous comment, So, can you please attach your theme's _config.yml? If you can attach your post's md file (through pastebin.com), or even better, upload the whole blog to github (including the theme), it would help me tremendously to debug the issue. I also suggested a workaround for you in my previous comments, by removing this line from hexo-theme-landscape; or if you're using hexo-theme-next then remove these lines, and check whether the issue still persists. |
Thank you for your attention to my question. I have uploaded my entire blog to my homepage. I hope that I have deleted all the privacy information, I will delete this project after 24 hours. |
The bug is caused by
|
Anyone having similar issue, please refer to this workaround. |
Maybe we need to prompt |
I just had a quick test with hexo-renderer-pandoc, figure it might be useful for the doc.
|
|
I agree and want to create new issue
示例代码
Expected behavior
[3.jpg]
Actual behavior
[3.jpg]
2
Steps to reproduce the behavior
Paste the code on any post to reproduce it!
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
Theoretically independent of Hexo configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
I only modified sensitive information!
Other Information
The text was updated successfully, but these errors were encountered: