How-to guides#
Practical recipes for people who already know what they want.
- Use the lexer in Sphinx and MyST
Show ledgers in Sphinx and MyST: fenced blocks, directives with options, included files, inline code, line numbers.
- Highlight ledgers in MkDocs and Python-Markdown
Show ledgers in MkDocs, Material for MkDocs, Pelican and other Python-Markdown sites.
- Highlight ledgers outside Sphinx
Highlight ledgers on the command line and from Python.
- Register the lexer by hand
Register the lexer by hand where entry points are not available.
- Work on the code
Set up the development environment, run the checks, and change the lexer.