Backport from sid to buster
[hcoop/debian/mlton.git] / doc / guide / src / Pygments.adoc
1 Pygments
2 ========
3
4 http://pygments.org/[Pygments] is a generic syntax highlighter. Here is a _lexer_ for highlighting
5 <:StandardML: Standard ML>.
6
7 * <!ViewGitDir(mlton,master,ide/pygments/sml_lexer)> -- Provides highlighting of keywords, special constants, and (nested) comments.
8
9 == Install and use ==
10 * Checkout all files and install as a http://pygments.org/[Pygments] plugin.
11 +
12 ----
13 $ git clone https://github.com/MLton/mlton.git mlton
14 $ cd mlton/ide/pygments
15 $ python setup.py install
16 ----
17
18 * Invoke `pygmentize` with `-l sml`.
19
20 == Feedback ==
21
22 Comments and suggestions should be directed to <:MatthewFluet:>.