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

🤔️常见问题 #14

Open
HiNinoJay opened this issue May 19, 2023 · 4 comments
Open

🤔️常见问题 #14

HiNinoJay opened this issue May 19, 2023 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@HiNinoJay
Copy link
Owner

HiNinoJay commented May 19, 2023

我的markdown代码块怎么没渲染?

答:检查你的_config.yml文件,将hexo自带的highlight和prismjs设置为false。

highlight:
  enable: false 
  line_number: true
  auto_detect: false
  tab_replace: ''
  wrap: true
  hljs: false
prismjs:
  enable: false 
  preprocess: true
  line_number: true
  tab_replace: ''

A4 v1.8.5版本已解决该问题,无需再做以上操作,记得恢复_config.yml为默认配置

@HiNinoJay HiNinoJay pinned this issue May 19, 2023
@HiNinoJay HiNinoJay added the question Further information is requested label May 21, 2023
@HiNinoJay HiNinoJay self-assigned this May 21, 2023
@HiNinoJay HiNinoJay changed the title 常见问题 🤔️常见问题 May 22, 2023
@HiNinoJay
Copy link
Owner Author

HiNinoJay commented May 23, 2023

文章含有多个category 后 启动 控制台警告?

答:目前A4仅支持文章含有一级分类(category),但可以含有多个标签(tag)。个人觉得嵌套分类的存在,使得分类和标签的区别模糊了。也许以后会支持多级分类

除此之外,请确保使用的是hexo v6.3.0版本,可执行以下命令

npm install [email protected]

A4 v1.8.5版本已解决该问题,无需再做以上操作,记得恢复_config.yml为默认配置

@SamuraiBUPT
Copy link

SamuraiBUPT commented Jul 5, 2023

您好,想问问有关自定义配色的问题。

看到您在tutorial里面写过如何自定义配色,请问有更加全面的配色文档可供参考吗?

例如从您给出的信息中,无法得知何处可以调整标题的颜色:如果将color-enable设置为true,则标题变为烫金色,而找不到何处能够改变标题的颜色。再例如想将代码字体设置为Consolas格式,不知道在哪里可以进行更改?

有无更加详细的文档,对配色的属性进行说明?

@HiNinoJay
Copy link
Owner Author

HiNinoJay commented Jul 6, 2023

您好,想问问有关自定义配色的问题。

看到您在tutorial里面写过如何自定义配色,请问有更加全面的配色文档可供参考吗?

例如从您给出的信息中,无法得知何处可以调整标题的颜色:如果将color-enable设置为true,则标题变为烫金色,而找不到何处能够改变标题的颜色。再例如想将代码字体设置为Consolas格式,不知道在哪里可以进行更改?

有无更加详细的文档,对配色的属性进行说明?

将代码字体设置为Consolas格式 已在邮件中回复~ 更加全面的配色文档目前没有,抱歉,但个人觉得配置文件中 颜色修改 相关注释的描述 已经足够详细,更多的需要您自己亲手修改一下体验,知道哪里将会变化。比如标题的颜色,因为标题是一个a标签链接,修改主题配置文件中color中的 linkBeforeClick 的颜色即可~

我争取抽时间更新一下文档,进一步描述。

Repository owner deleted a comment from iajiao Sep 10, 2023
@jiangjiang1116
Copy link

hexo-blog-encrypt插件可能会与代码块渲染冲突,禁用插件后可以正常显示代码块,我目前暂时使用hexo-hide-posts插件暂时隐藏文章(-,-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants