summary refs log tree commit diff
path: root/bin/html.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/html.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/html.sh b/bin/html.sh
index cb7f1a66..8f4e3887 100644
--- a/bin/html.sh
+++ b/bin/html.sh
@@ -6,8 +6,11 @@ readonly GiteaURL='https://code.causal.agency/june/src/src/branch/master/bin'
 src=$1
 man=${2:-}
 
-./hi -f html -o document,tab=4 -n "${src}" /dev/null | sed '/<pre/d'
+./hi -f html -o document,tab=4 -n "${src}" /dev/null | sed -e '/<pre/d'
 cat <<- EOF
+	<style>
+	$(./scheme -s | sed -f style.sed)
+	</style>
 	<code><a href="${GiteaURL}/${src}">${src} in git</a></code>
 EOF
 [ -f "${man}" ] && man -P cat "${PWD}/${man}" | ./ttpre