Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/lexer-algpseudocode.rst @ 201:b6a959c31bed
Wording
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 13 May 2026 12:47:06 +0200 |
| parents | 403b500e0ed4 |
| children | 76053daf813e |
comparison
equal
deleted
inserted
replaced
| 200:a5700f19e616 | 201:b6a959c31bed |
|---|---|
| 4 ************************************* | 4 ************************************* |
| 5 AlgPseudocode and Language Variants | 5 AlgPseudocode and Language Variants |
| 6 ************************************* | 6 ************************************* |
| 7 | 7 |
| 8 These lexers are heavily inspired by CTAN’s `Algpseudocodex`_. | 8 These lexers are heavily inspired by CTAN’s `Algpseudocodex`_. |
| 9 They recognize expressions and additionally all sorts of comments and | 9 They recognize all sorts of single- and multi-line comments in addition to |
| 10 commands that are inspired by `Algpseudocodex`_. | 10 expressions and commands that are inspired by `Algpseudocodex`_. |
| 11 | 11 |
| 12 They may be used in `Sphinx`_ by their aliases. | 12 They may be used in `Sphinx`_ by their aliases. |
| 13 The code-block: | 13 The code-block: |
| 14 | 14 |
| 15 .. code-block:: none | 15 .. code-block:: none |
| 65 | 65 |
| 66 - Names (`Name.Entity`) | 66 - Names (`Name.Entity`) |
| 67 | 67 |
| 68 - :ref:`explicit-token-types` | 68 - :ref:`explicit-token-types` |
| 69 | 69 |
| 70 In the default-mode it recognizes expressions and additionally all | 70 In the default-mode it recognizes all sorts of single- and multi-line |
| 71 sorts of comments and commands that look somewhat like `Algpseudocodex`_ | 71 comments in addition to expressions and commands that are inspired by |
| 72 commands. | 72 `Algpseudocodex`_. |
| 73 | 73 |
| 74 In texts it recognizes: | 74 In texts it recognizes: |
| 75 | 75 |
| 76 - ``\EXPR`` or ``\EXPRESSION`` | 76 - ``\EXPR`` or ``\EXPRESSION`` |
| 77 | 77 |
