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

enhance highlight feature #43

Closed
Tracked by #40
Lruihao opened this issue Jan 14, 2022 · 3 comments
Closed
Tracked by #40

enhance highlight feature #43

Lruihao opened this issue Jan 14, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Lruihao
Copy link
Member

Lruihao commented Jan 14, 2022

为了更好的适配主题的 dark/light 样式设计,以下必要设置请保持和主题文档一致,尤其是 markup.highlight.noClasses=false

[markup.highlight]
    codeFences = true
    lineNos = true
    lineNumbersInTable = true
    noClasses = false
    # ...

markup.highlight.noClasses=false,意味着 markup.highlight.style 参数失效,若想自定义 hightlight style 可替换掉 _variables.scss 中的相关颜色变量值

@Lruihao Lruihao self-assigned this Jan 14, 2022
@Lruihao Lruihao added the enhancement New feature or request label Jan 14, 2022
@Lruihao Lruihao added this to the v0.2.13 milestone Jan 14, 2022
@Lruihao Lruihao changed the title code diff feature enhance highlight feature Feb 26, 2022
@Lruihao
Copy link
Member Author

Lruihao commented Feb 27, 2022

Chroma 的样式种类实在太少了,能够配套 dark/light 模式的则是少之又少,有兴趣的可参考 highlightjsprismjs 配色方案

尽可能支持更多编程语言的高亮,例如 diff 等常用的

- theme = "LoveIt"
+ theme = "FixIt"
! enhancements and fixes

FixIt 0.2.13 将整合 GitHubGithub Dark Dimmed 两种高亮风格

Lruihao added a commit that referenced this issue Mar 1, 2022
TODO:
1. gist highlight style
2. inline code style of github dark dimmed
Lruihao added a commit that referenced this issue Mar 1, 2022
TODO:
1. gist highlight style
2. inline code style of github dark dimmed
Lruihao added a commit that referenced this issue Mar 1, 2022
TODO:
1. gist highlight style
2. inline code style of github dark dimmed
@Lruihao
Copy link
Member Author

Lruihao commented Mar 1, 2022

已处理完

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant