mirror of
https://github.com/rust-lang/mdBook
synced 2025-03-02 14:17:16 +00:00
Enhance syntax highlighting
Add syntax highlighting for `hljs-attr` and `hljs-section` CSS classes, consistent with the Ayu theme.
This commit is contained in:
parent
f4805343f8
commit
d0dd16c527
2 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
.hljs-variable,
|
||||
.hljs-template-variable,
|
||||
.hljs-attribute,
|
||||
.hljs-attr,
|
||||
.hljs-tag,
|
||||
.hljs-name,
|
||||
.hljs-regexp,
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
/* Tomorrow Red */
|
||||
.hljs-variable,
|
||||
.hljs-attribute,
|
||||
.hljs-attr,
|
||||
.hljs-tag,
|
||||
.hljs-regexp,
|
||||
.ruby .hljs-constant,
|
||||
|
@ -54,6 +55,7 @@
|
|||
|
||||
/* Tomorrow Aqua */
|
||||
.hljs-title,
|
||||
.hljs-section,
|
||||
.css .hljs-hexcolor {
|
||||
color: #8abeb7;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue