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]: markdown语法 四级标签后的都会自动添加一个# 号 #99

Closed
sizdshi opened this issue Oct 13, 2023 · 6 comments
Closed
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@sizdshi
Copy link

sizdshi commented Oct 13, 2023

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

latest

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

不是 (No)

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

Chrome

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

Windows

问题描述 | Describe the bug

089890f8bdfe7d0f49eb33124d2b8fb

该问题如何解决?已尝试更新hexo-renderer-markdown为hexo-renderer-markdown-it。还是不起作用

出现问题网站 | Website

https://www.tctech.asia/2023/09/26/2020-03-25/

@MaLuns
Copy link
Owner

MaLuns commented Oct 14, 2023

这个是主题里加的, 可以通过添加样式去掉

h4:before,
h5:before,
h6:before {
    content: unset;
}

@MaLuns MaLuns closed this as completed Oct 14, 2023
@sizdshi
Copy link
Author

sizdshi commented Oct 14, 2023

这个具体是在哪个配置文件里添加呀?还是说是在md文件中自己写呢?

@MaLuns
Copy link
Owner

MaLuns commented Oct 14, 2023

source/_data/style/index.less

这个文件里,没有的话按照目录新建一个

@sizdshi
Copy link
Author

sizdshi commented Oct 16, 2023

大佬,试了一下不起作用。
41e1f42b5cc34cbafea7ad3a2ab0378
b32f67ffdb31015ed850efeded05ced

@MaLuns
Copy link
Owner

MaLuns commented Oct 16, 2023

大佬,试了一下不起作用。 41e1f42b5cc34cbafea7ad3a2ab0378 b32f67ffdb31015ed850efeded05ced

那应该是css 优先级不够你调整下或者直接 !important

@sizdshi
Copy link
Author

sizdshi commented Oct 16, 2023

起作用了。
给不知道怎么添加的人:

h4:before,
h5:before,
h6:before {
    content: unset !important;
}

@MaLuns MaLuns added the documentation Improvements or additions to documentation label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants