Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / Pygments.adoc
CommitLineData
7f918cf1
CE
1Pygments
2========
3
4http://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
22Comments and suggestions should be directed to <:MatthewFluet:>.