-
Checklist
How did you create the site?Built from DescriptionWhat files manage code blocks? I don't think bash style code blocks are supported, but I'd like to add them. Operations you have already triedSearch on google. Anything else?no. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
See here, chirpy use rouge to highlight code. And the list of supported languages and lexers can be seen here. If you want to change the color, relevent settings can be seen syntax-dark and syntax-light. Run
You can choose one of themes to get the css file, and cover the original scss file. For example, you can change the code highlighting theme in dark mode to github.dark
Of course, you can also manually adjust the color yourself and design your own favorite theme. |
Beta Was this translation helpful? Give feedback.
See here, chirpy use rouge to highlight code. And the list of supported languages and lexers can be seen here.
If you want to change the color, relevent settings can be seen syntax-dark and syntax-light.
Run
rougify help style
to get the avaliable themes list:base16, base16.dark, base16.light, base16.monokai, base16.monokai.dark, base16.monokai.light, base16.solarized, base16.solarized.dark, base16.solarized.light, bw, colorful, github, github.dark, github.light, gruvbox, gruvbox.dark, gruvbox.light, igorpro, magritte, molokai, monokai, monokai.sublime, pastie, thankful_eyes, tulip
You can choose one of themes to get the css file, and cover the original scss file. For example, you can ch…