Add an index to draft post

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-20 16:57:53 -07:00
parent a7e155de6d
commit a763406701

View File

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