Add an index to draft post
This commit is contained in:
parent
a7e155de6d
commit
a763406701
@ -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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user