diff --git a/posts/2025-06-20-chroma.md b/posts/2025-06-20-chroma.md index ea45cb9..2da98bc 100644 --- a/posts/2025-06-20-chroma.md +++ b/posts/2025-06-20-chroma.md @@ -1,11 +1,13 @@ { blurb: "Add a new lexer to chroma" } +$index ## Intro -Chroma doesn't have a MoonScript lexer. It does has a Python script that can -convert Pygments lexers, though, and Pygments has a MoonScript lexer. +Gitea uses Chroma for syntax highlighting. Chroma doesn't have a MoonScript +lexer. It does has a Python script that can convert Pygments lexers, though, +and Pygments has a MoonScript lexer. ## Run MoonScript lexer generation script @@ -180,4 +182,3 @@ lexer markup output. ... ``` -If you wanted to save