Skip to content

Syntax Highlighting Defaults? #2298

Answered by tis-starlight
weab2013 asked this question in Q&A
Discussion options

You must be logged in to vote

By default, Chirpy uses a modified version of the base16.dark syntax highlighting style (rougify style base16.dark) for Dark Mode and github (rougify style github) for Light Mode.

If you notice any inconsistencies in the syntax highlighting (which, in some cases, may not be apparent), it is due to the use of two different styles for Dark and Light Modes. To ensure consistency, I recommend using the github style for Light Mode (which Chirpy already uses) and github.dark for Dark Mode. However, you will need to adjust the styles to match the Chirpy theme.

For example, you might notice inconsistencies when displaying NASM assembly code blocks. Please disregard the colored dots and the JetBra…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@guillermodotn
Comment options

@weab2013
Comment options

@guillermodotn
Comment options

@weab2013
Comment options

@SoumyaK4
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by weab2013
Comment options

You must be logged in to vote
1 reply
@weab2013
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants