Skip to content
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

[Bug]: Latex 中含有 '#' 符号会被识别成 html 注释 #92

Closed
GrainRainy opened this issue Sep 30, 2023 · 3 comments
Closed

[Bug]: Latex 中含有 '#' 符号会被识别成 html 注释 #92

GrainRainy opened this issue Sep 30, 2023 · 3 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@GrainRainy
Copy link

使用的 Hexo-Theme-Asycn 版本? | What version of Hexo-Theme-Asycn are you use?

newest

是否修改过主题文件? || Has the theme files been modified?

是 (Yes)

使用的浏览器? || What browse are you using?

Chrome

使用的系統? || What operating system are you using?

Windows

问题描述 | Describe the bug

rt, 本地 md 文件中 Latex 16 进制颜色代码的 '#' 被识别成了 html 注释, 整篇文章均被注释.

image

image

出现问题网站 | Website

https://grainrain.site/chtholly_tree/

@sizdshi
Copy link

sizdshi commented Oct 1, 2023

我也有此问题

@MaLuns
Copy link
Owner

MaLuns commented Oct 7, 2023

{# 会被 hexo 解析成 nunjucks 模版,可以在页面配置关闭

@MaLuns
Copy link
Owner

MaLuns commented Oct 7, 2023

或者你直接忽略掉 #, 颜色也是能正常渲染的

@MaLuns MaLuns closed this as completed Oct 7, 2023
@MaLuns MaLuns added the invalid This doesn't seem right label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants