![Forrest logo](/images/logo.png)
pygmentize:tldr:19932
The command pygmentize -L formatters
is used to provide a list of all the available formatters in Pygments.
Pygments is a syntax highlighting library that supports a wide range of programming languages and markup formats. It can be used from the command line or integrated into other programs to apply syntax highlighting to source code or text files.
The -L
flag tells Pygments to list available options in a specified category, and in this case, it's the category of formatters. Formatters in Pygments are responsible for converting the highlighted code or text into a specific output format, such as HTML, LaTeX, or terminal colors.
So, when you run pygmentize -L formatters
, it will display a list of all the available formatters that you can use with Pygments. This list will typically include the names and descriptions of different formatters along with their corresponding output formats.