Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/details-algpseudocode.rst @ 156:123aeb2de8aa
Explicitely call all markup with the domain
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 08 May 2026 16:34:24 +0200 |
| parents | b38d10ab914a |
| children | f08d77b8cbf7 |
comparison
equal
deleted
inserted
replaced
| 155:16faae7ecdb6 | 156:123aeb2de8aa |
|---|---|
| 1 .. -*- coding: utf-8; indent-tabs-mode: nil; -*- | 1 .. -*- coding: utf-8; indent-tabs-mode: nil; -*- |
| 2 | 2 |
| 3 | 3 |
| 4 .. _details-algpseudocode: | 4 .. _details-algpseudocode: |
| 5 | 5 |
| 6 *************** | 6 *************** |
| 7 AlgPseudocode | 7 AlgPseudocode |
| 8 *************** | 8 *************** |
| 9 | 9 |
| 294 | 294 |
| 295 Names and Entities | 295 Names and Entities |
| 296 ================== | 296 ================== |
| 297 | 297 |
| 298 In an expression context all other words are interpreted as entity | 298 In an expression context all other words are interpreted as entity |
| 299 names (token type ``Token.Name.Entity``). | 299 names (token type :py:class:`pygments.token.Token.Name.Entity`). |
| 300 | 300 |
| 301 Allowed characters in the words follow the corresponding `Python`_ rules. | 301 Allowed characters in the words follow the corresponding `Python`_ rules. |
| 302 As such, many Unicode characters are allowed. | 302 As such, many Unicode characters are allowed. |
| 303 | 303 |
| 304 To highlight entity names with whitespace or other "special" characters in it | 304 To highlight entity names with whitespace or other "special" characters in it |
| 322 ==================== | 322 ==================== |
| 323 | 323 |
| 324 Handle keywords and operators that are not handled by default or change | 324 Handle keywords and operators that are not handled by default or change |
| 325 the default handling of some expressions. | 325 the default handling of some expressions. |
| 326 | 326 |
| 327 `XX` represents a `value` in the :mod:`pygments.token.STANDARD_TYPES` dict. | 327 `XX` represents a `value` in the :py:data:`pygments.token.STANDARD_TYPES` |
| 328 Its corresponding token type (the associated `key` in this `dict`) is used as | 328 dict. |
| 329 token type. | 329 Its corresponding token type (the associated `key` in this `dict`) is |
| 330 used as token type. | |
| 330 | 331 |
| 331 ``\\tt-XX/SINGLE-CHAR`` | 332 ``\\tt-XX/SINGLE-CHAR`` |
| 332 | 333 |
| 333 no escaping needed | 334 no escaping needed |
| 334 | 335 |
