Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff README.md @ 1:4615d6df8293 origin
ADD: The original pygments-lexer-pseudocode project from GitHub.
The commit is c455f4e283788932cf010b189e4b915871f3cff2.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 19 Apr 2026 16:44:06 +0200 |
| parents | |
| children | 5812e7f3bc13 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Sun Apr 19 16:44:06 2026 +0200 @@ -0,0 +1,31 @@ +# (French) Pseudocode syntax lexer for Pygments + +This package contains a Pygments Lexer for some basic pseudocode algorithmics. + +## Installation + +The lexer is available as a Pip package: + + pip install pygments-lexer-pseudocode + +Alternatively, to install from the git repository: (you may need to sudo depending on your Python environment) + + python setup.py install + +## Usage + +After installation the Pseudocode lexer automatically registers itself for files with the `.algo` and `.pseudocode` extensions. Therefore, usage is easy: + + pygmentize document.algo + +You can also manally indicate you want to use the Pseudocode lexer by using a command line flag: + + pygmentize -l pseudocode somefile + +## Contribute + +If you found a bug, don't hesitate to make a pull request. + +## License + +The Pseudocode lexer is licensed under the terms of the MIT licence
