Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/lexer-algpseudocode.rst @ 193:af8eca1e9006
FIX: Typo in "recognize"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 13 May 2026 11:38:32 +0200 |
| parents | 156bcd310596 |
| children | 403b500e0ed4 |
comparison
equal
deleted
inserted
replaced
| 192:156bcd310596 | 193:af8eca1e9006 |
|---|---|
| 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 recogzize expressions and additionally all sorts of comments and | 9 They recognize expressions and additionally all sorts of comments and |
| 10 commands that are inspired by `Algpseudocodex`_. | 10 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 |
| 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 recogzizes expressions and additionally all | 70 In the default-mode it recognizes expressions and additionally all |
| 71 sorts of comments and commands that look somewhat like `Algpseudocodex`_ | 71 sorts of comments and commands that look somewhat like `Algpseudocodex`_ |
| 72 commands. | 72 commands. |
| 73 | 73 |
| 74 In texts it recogzizes: | 74 In texts it recognizes: |
| 75 | 75 |
| 76 - ``\EXPR`` or ``\EXPRESSION`` | 76 - ``\EXPR`` or ``\EXPRESSION`` |
| 77 | 77 |
| 78 To switch to expression-mode. | 78 To switch to expression-mode. |
| 79 | 79 |
