Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff docs/details-algpseudocode.rst @ 144:b616f9645e37
More referencing with internal and external links
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 07 May 2026 12:21:53 +0200 |
| parents | 5df4403f9e18 |
| children | c4f6f5e771b0 |
line wrap: on
line diff
--- a/docs/details-algpseudocode.rst Thu May 07 11:27:03 2026 +0200 +++ b/docs/details-algpseudocode.rst Thu May 07 12:21:53 2026 +0200 @@ -40,6 +40,9 @@ The symbol to be printed as when starting comments with ``\REMARK`` or ``\REM``. + To use a lexer with non-default options in `Sphinx`_ see section + :ref:`customized-sphinx-lexers`. + Comments ======== @@ -272,10 +275,12 @@ .. note:: Explicit token types are **case-sensitive**. +.. _customized-sphinx-lexers: + Customized Lexers in Sphinx =========================== -Defining lexers with non-default options in Sphinx can be done in its +Defining lexers with non-default options in `Sphinx`_ can be done in its configuration file :file:`conf.py`: .. code-block:: python
