Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/lexer-algpseudocode.rst @ 268:ea19b621081d
Consistently write code blocks in the documentation text as "code block".
Previously it sometimes was "code-block".
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 19 May 2026 21:11:28 +0200 |
| parents | 50bd1e91b822 |
| children | 9790553d7225 |
comparison
equal
deleted
inserted
replaced
| 267:683c4b35ed26 | 268:ea19b621081d |
|---|---|
| 18 These lexers are heavily inspired by CTAN’s `Algpseudocodex`_. | 18 These lexers are heavily inspired by CTAN’s `Algpseudocodex`_. |
| 19 They recognize all sorts of single- and multi-line comments in addition to | 19 They recognize all sorts of single- and multi-line comments in addition to |
| 20 expressions and commands that are inspired by `Algpseudocodex`_. | 20 expressions and commands that are inspired by `Algpseudocodex`_. |
| 21 | 21 |
| 22 They are used in `Sphinx`_ using their aliases. | 22 They are used in `Sphinx`_ using their aliases. |
| 23 The code-block: | 23 The code block: |
| 24 | 24 |
| 25 .. code-block:: none | 25 .. code-block:: none |
| 26 | 26 |
| 27 .. code-block:: algpseudocode | 27 .. code-block:: algpseudocode |
| 28 | 28 |
| 36 | 36 |
| 37 \PROGRAM {The Pseudoprogram} \IS | 37 \PROGRAM {The Pseudoprogram} \IS |
| 38 | 38 |
| 39 \END PROGRAM {The Pseudoprogram} | 39 \END PROGRAM {The Pseudoprogram} |
| 40 | 40 |
| 41 And the same code-block with the german variant | 41 And the same code block with the german variant |
| 42 (using ``.. code-block:: algpseudocode-de`` as language alias): | 42 (using ``.. code-block:: algpseudocode-de`` as language alias): |
| 43 | 43 |
| 44 .. code-block:: algpseudocode-de | 44 .. code-block:: algpseudocode-de |
| 45 | 45 |
| 46 \PROGRAM {The Pseudoprogram} \IS | 46 \PROGRAM {The Pseudoprogram} \IS |
