Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff docs/intro.rst @ 159:4ee0b1536ea6
Handle runs of dots in expressions (., .., ..., ...., ...)
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 08 May 2026 17:13:26 +0200 |
| parents | b38d10ab914a |
| children | 315cfe0a836f |
line wrap: on
line diff
--- a/docs/intro.rst Fri May 08 16:44:30 2026 +0200 +++ b/docs/intro.rst Fri May 08 17:13:26 2026 +0200 @@ -112,7 +112,8 @@ :lines: 2- This is Wikipedia's pseudocode of the *Edmonds–Karp Algorithm* -(see https://en.wikipedia.org/wiki/Edmonds%E2%80%93Karp_algorithm): +(see https://en.wikipedia.org/wiki/Edmonds%E2%80%93Karp_algorithm) +with a custom lexer that skip all ``ENDxxx`` keywords: .. literalinclude:: examples/algorithm-edmonds-karp.pseudocode :language: NoEndAlgPseudocode
