-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds hljs to all code blocks for two reasons: - nohighlight blocks are left untouched by HighlightJS, meaning that the hljs class isn't attached at runtime to those blocks. Adding this explicitly makes sure that CSS rules for code blocks still apply such that the correct "regular text color" is used. - If JavaScript is disabled in the browser this makes sure that at least the intended "regular text color" is used for code blocks.
- Loading branch information
1 parent
797a96f
commit 5d6e5e9
Showing
3 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters