summary refs log tree commit diff
path: root/bin/html.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-27 00:24:05 -0400
committerJune McEnroe <june@causal.agency>2019-07-27 00:24:52 -0400
commit0b8af7aac0f3b8975e2fe4df713f163f77852918 (patch)
tree63f3f2df3125f308de73ecf7410efd2e15ba035a /bin/html.sh
parentRemove scheme text link (diff)
downloadsrc-0b8af7aac0f3b8975e2fe4df713f163f77852918.tar.gz
src-0b8af7aac0f3b8975e2fe4df713f163f77852918.zip
Revert "Use scheme to style HTMLs"
This reverts commit 4b7d5161a30645b0a23691687ef1aafdda62d3bb.

I don't know why but I don't like it.
Diffstat (limited to 'bin/html.sh')
-rw-r--r--bin/html.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/html.sh b/bin/html.sh
index 8f4e3887..cb7f1a66 100644
--- a/bin/html.sh
+++ b/bin/html.sh
@@ -6,11 +6,8 @@ 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 -e '/<pre/d'
+./hi -f html -o document,tab=4 -n "${src}" /dev/null | sed '/<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