From 19ee9477553d9b6be60c065423241ef13cbef22b Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 29 Nov 2017 19:51:05 -0500 Subject: [PATCH] nitlight: update manpage Signed-off-by: Jean Privat --- share/man/nitlight.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/share/man/nitlight.md b/share/man/nitlight.md index 17a294f..321e870 100644 --- a/share/man/nitlight.md +++ b/share/man/nitlight.md @@ -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 `` 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 -- 1.7.9.5