We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在 theme-terminal 下搭配 highlightjs 实现文章代码段落高亮时。
theme-terminal
当更改博客主题从亮色切换到暗色时,代码段主题不会随之变为暗色,导致看起来主题不一致的现象(见下方截图)。 推测是 highlightjs 为收到主题更改信号?不知道具体是哪边的问题,还需要去看一下代码。本人前端新手,若有大佬知道问题所在希望能够指点一二。
现象如图:
The text was updated successfully, but these errors were encountered:
现在 highlight.js 这个插件是配置的固定主题模式,还不支持自动切换,可以先选一个亮色暗色都合适的主题。 或者等下这个插件:halo-sigs/plugin-shiki#2
Sorry, something went wrong.
原来如此,谢谢回复
No branches or pull requests
在
theme-terminal
下搭配 highlightjs 实现文章代码段落高亮时。当更改博客主题从亮色切换到暗色时,代码段主题不会随之变为暗色,导致看起来主题不一致的现象(见下方截图)。
推测是 highlightjs 为收到主题更改信号?不知道具体是哪边的问题,还需要去看一下代码。本人前端新手,若有大佬知道问题所在希望能够指点一二。
现象如图:
The text was updated successfully, but these errors were encountered: