summary refs log tree commit diff
path: root/bin/hilex/hilex.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-29 00:55:47 -0500
committerJune McEnroe <june@causal.agency>2020-12-29 00:55:47 -0500
commitcc1cb6c36ecb93e7b9b458f4ea24d1f00480503b (patch)
treea52adc39db865db26dba4d640723376b62ec0b83 /bin/hilex/hilex.1
parentAdd hilex manual page (diff)
downloadsrc-cc1cb6c36ecb93e7b9b458f4ea24d1f00480503b.tar.gz
src-cc1cb6c36ecb93e7b9b458f4ea24d1f00480503b.zip
Add hilex HTML output
Diffstat (limited to 'bin/hilex/hilex.1')
-rw-r--r--bin/hilex/hilex.154
1 files changed, 54 insertions, 0 deletions
diff --git a/bin/hilex/hilex.1 b/bin/hilex/hilex.1
index 8b8e0ec7..bc345fe1 100644
--- a/bin/hilex/hilex.1
+++ b/bin/hilex/hilex.1
@@ -65,6 +65,60 @@ input lexer if one cannot be inferred.
 .It Cm ansi
 Output ANSI terminal control sequences.
 .
+.It Cm html
+Output HTML
+.Sy <span>
+elements
+within a
+.Sy <pre>
+element.
+The options are as follows:
+.Bl -tag -width "title=..."
+.It Cm anchor
+Output tags as anchor links.
+.
+.It Cm css Ns = Ns Ar url
+With
+.Cm document ,
+output a
+.Sy <link>
+element for the external stylesheet
+.Ar url .
+If unset,
+output default styles in a
+.Sy <style>
+element.
+.
+.It Cm document
+Output an HTML document containing the
+.Sy <pre>
+element.
+.
+.It Cm inline
+Output inline
+.Sy style
+attributes rather than classes.
+.
+.It Cm tab Ns = Ns Ar n
+With
+.Cm document
+or
+.Cm inline ,
+set the
+.Sy tab-size
+property to
+.Ar n .
+.
+.It Cm title Ns = Ns Ar ...
+With
+.Cm document ,
+set the
+.Sy <title>
+element text.
+The default title is the same as
+.Ar name .
+.El
+.
 .It Cm irc
 Output IRC formatting codes.
 The options are as follows: