From d0dd16c52799ff1ff0d94abb3f7f7a8ad80edc39 Mon Sep 17 00:00:00 2001 From: Jackie Harris Date: Thu, 17 Oct 2024 12:25:15 -0500 Subject: [PATCH] Enhance syntax highlighting Add syntax highlighting for `hljs-attr` and `hljs-section` CSS classes, consistent with the Ayu theme. --- src/theme/highlight.css | 1 + src/theme/tomorrow-night.css | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/theme/highlight.css b/src/theme/highlight.css index ba57b82b27..352c79b961 100644 --- a/src/theme/highlight.css +++ b/src/theme/highlight.css @@ -16,6 +16,7 @@ .hljs-variable, .hljs-template-variable, .hljs-attribute, +.hljs-attr, .hljs-tag, .hljs-name, .hljs-regexp, diff --git a/src/theme/tomorrow-night.css b/src/theme/tomorrow-night.css index 81fe276e7f..11752b8a8c 100644 --- a/src/theme/tomorrow-night.css +++ b/src/theme/tomorrow-night.css @@ -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; }