nitlight: update manpage
authorJean Privat <jean@pryen.org>
Thu, 30 Nov 2017 00:51:05 +0000 (19:51 -0500)
committerJean Privat <jean@pryen.org>
Thu, 30 Nov 2017 00:51:05 +0000 (19:51 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

share/man/nitlight.md

index 17a294f..321e870 100644 (file)
@@ -15,6 +15,12 @@ Unlike generic lexical or syntactic highlighter, nitlight use semantic informati
 Common options of the Nit tools are understood.
 Here, only the specific one are indicated.
 
+### `--txt`
+Generate text with ANSI coloring escape sequences.
+
+Instead of HTML, this generate text files with ANSI escape sequence for colors.
+The options `-f`, `--line-id-prefix` and `--ast` are ignored in this mode.
+
 ### `-f`, `--fragment`
 Omit document header and footer.
 
@@ -59,6 +65,12 @@ By default, only the modules indicated on the command line are highlighted.
 
 With the `--full` option, all imported modules (even those in standard) are also precessed.
 
+### `--ast`
+Generate specific HTML elements for each Node of the AST.
+
+Additional `<span>` elements are generated for each node of the AST.
+The HTML generated can become quite large.
+
 # SEE ALSO
 
 The Nit language documentation and the source code of its tools and libraries may be downloaded from <http://nitlanguage.org>