Update blurb and title

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-21 16:16:15 -07:00
parent ecfaf4edac
commit c9fddb1f4a

View File

@ -1,5 +1,14 @@
{
blurb: "Add a new lexer to Chroma"
title: "Add a Pygments Lexer to Chroma"
blurb: "[Pygments][4] and [Chroma][5] are syntax highlighting libraries
written in [Python][6] and [Go][7], respecitvely. Chroma is missing a
language we like, which Pygments already supports. We add support for our
language to Chroma by converting the existing lexer from Pygments.
[4]: https://github.com/pygments/pygments
[5]: https://github.com/alecthomas/chroma
[6]: https://www.python.org/
[7]: https://go.dev/"
}
$index
@ -9,6 +18,7 @@ $index
syntax highlighter, [Pygments](https://github.com/pygments/pygments), and includes a [script](https://github.com/alecthomas/chroma/blob/484750a96fc430f49d6b69cc2a2a8b7a67691446/_tools/pygments2chroma_xml.py) to help convert Pygments
lexers for use with Chroma. We describe how below.
## Setup
We're going to be using the `python` and `golang` [Docker][4] images. Docker