feat: highlight Markdown list markers

This commit is contained in:
2026-10-12 17:30:35 +02:00
parent 971866388c
commit 5e6b602127
4 changed files with 39 additions and 1 deletions
+8
View File
@@ -60,6 +60,14 @@ static MD_HIGHLIGHTS: LazyLock<String> = LazyLock::new(|| {
(setext_h1_underline)
(setext_h2_underline)
] @text.title
[
(list_marker_minus)
(list_marker_plus)
(list_marker_star)
(list_marker_dot)
(list_marker_parenthesis)
] @markup.list
",
]
.join("\n")