Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison README.md @ 2:e310a29a391b
MERGE: with origin
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 19 Apr 2026 16:44:56 +0200 |
| parents | 4615d6df8293 |
| children | 5812e7f3bc13 |
comparison
equal
deleted
inserted
replaced
| 0:3502ff002b14 | 2:e310a29a391b |
|---|---|
| 1 # (French) Pseudocode syntax lexer for Pygments | |
| 2 | |
| 3 This package contains a Pygments Lexer for some basic pseudocode algorithmics. | |
| 4 | |
| 5 ## Installation | |
| 6 | |
| 7 The lexer is available as a Pip package: | |
| 8 | |
| 9 pip install pygments-lexer-pseudocode | |
| 10 | |
| 11 Alternatively, to install from the git repository: (you may need to sudo depending on your Python environment) | |
| 12 | |
| 13 python setup.py install | |
| 14 | |
| 15 ## Usage | |
| 16 | |
| 17 After installation the Pseudocode lexer automatically registers itself for files with the `.algo` and `.pseudocode` extensions. Therefore, usage is easy: | |
| 18 | |
| 19 pygmentize document.algo | |
| 20 | |
| 21 You can also manally indicate you want to use the Pseudocode lexer by using a command line flag: | |
| 22 | |
| 23 pygmentize -l pseudocode somefile | |
| 24 | |
| 25 ## Contribute | |
| 26 | |
| 27 If you found a bug, don't hesitate to make a pull request. | |
| 28 | |
| 29 ## License | |
| 30 | |
| 31 The Pseudocode lexer is licensed under the terms of the MIT licence |
