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] 选择的代码块主题显示的颜色与hljs不同 #437

Open
3 tasks done
RocketMaDev opened this issue Sep 11, 2024 · 0 comments
Open
3 tasks done

[BUG] 选择的代码块主题显示的颜色与hljs不同 #437

RocketMaDev opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working high priority It will be completed right away

Comments

@RocketMaDev
Copy link

提交 Issue 前检查清单

Bug 描述

例如选择atom-one-dark,diff在深色主题下的颜色表现十分糟糕,但是highlight.js官方预览界面下颜色合适;看起来选择的配色方案与官方预览不同

复现方法

_config.redefine.yml中设置相关配色

  code_block: # irrelevant settings skipped
    highlight_theme: # Color scheme for highlightjs code highlighting. For preview, see https://highlightjs.org/examples
      dark: atom-one-dark # dark mode theme, support: github-dark, monokai-sublime, vs2015, night-owl, atom-one-dark, nord, tokyo-night-dark, a11y-dark, agate

新建文件添加diff代码块

预期结果

屏幕截图_20240911_193600

截图

屏幕截图_20240911_193646

电脑操作系统

Arch Linux

浏览器

Edge

版本

128

移动端设备

No response

移动端操作系统

No response

浏览器

No response

版本

No response

其他

No response

@RocketMaDev RocketMaDev added the bug Something isn't working label Sep 11, 2024
@EvanNotFound EvanNotFound added the high priority It will be completed right away label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority It will be completed right away
Projects
None yet
Development

No branches or pull requests

2 participants