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
commit1e284c0b01081e731be45d1b29b49d4540ae3c2c (patch)
tree8e637d4fb2bcdcd31925ce383442e6f119d28691 /bin/hilex/hilex.1
parentAdd hilex manual page (diff)
downloadsrc-1e284c0b01081e731be45d1b29b49d4540ae3c2c.tar.gz
src-1e284c0b01081e731be45d1b29b49d4540ae3c2c.zip
Add hilex HTML output
Diffstat (limited to '')
-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: