From 8f661c130b2c79761475f3f620e48a52fa53b2e0 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 9 Feb 2019 16:50:41 -0500 Subject: Add css and inline HTML options to hi --- bin/man1/hi.1 | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'bin/man1') diff --git a/bin/man1/hi.1 b/bin/man1/hi.1 index e1ab5b5b..befb1a69 100644 --- a/bin/man1/hi.1 +++ b/bin/man1/hi.1 @@ -1,4 +1,4 @@ -.Dd February 7, 2019 +.Dd February 9, 2019 .Dt HI 1 .Os . @@ -72,13 +72,31 @@ classes. The options are as follows: .Bl -tag -width "title=..." .It Cm document -Output an HTML document -with inline CSS. +Output an HTML document. .It Cm title Ns = Ns Ar ... -Set the title of the HTML document. +With +.Cm document , +set the +.Sy +element text. The default title is the .Ar file name. +.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 inline +Output inline +.Sy style +attributes rather than classes. .El .El . -- cgit 1.4.1 <a href='/src/tree/bin/cash/output.c?id=236b75da9993417c3d86a10ab47497c484c29b13'>tree</a> <a href='/src/commit/bin/cash/output.c?id=236b75da9993417c3d86a10ab47497c484c29b13&follow=1'>commit</a> <a href='/src/diff/bin/cash/output.c?id=236b75da9993417c3d86a10ab47497c484c29b13&follow=1'>diff</a></td><td class='form'><form class='right' method='get' action='/src/log/bin/cash/output.c'> <input type='hidden' name='id' value='236b75da9993417c3d86a10ab47497c484c29b13'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/src/log/?id=236b75da9993417c3d86a10ab47497c484c29b13&follow=1'>root</a>/<a href='/src/log/bin?id=236b75da9993417c3d86a10ab47497c484c29b13&follow=1'>bin</a>/<a href='/src/log/bin/cash?id=236b75da9993417c3d86a10ab47497c484c29b13&follow=1'>cash</a>/<a href='/src/log/bin/cash/output.c?id=236b75da9993417c3d86a10ab47497c484c29b13&follow=1'>output.c</a> (<a href='/src/log/bin/cash/output.c?id=236b75da9993417c3d86a10ab47497c484c29b13'>unfollow</a>)</div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/src/log/bin/cash/output.c?id=236b75da9993417c3d86a10ab47497c484c29b13&showmsg=1&follow=1'>Expand</a>)</th><th class='left'>Author</th></tr> <tr><td><span title='2019-02-07 03:01:43 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/hi.c?id=44bd8403e558e3e9cfe059dcbf548585362034e5&follow=1'>Add Todo class and parent syntax constraint</a></td><td>June McEnroe