diff options
author | bptato <nincsnevem662@gmail.com> | 2024-12-17 18:19:57 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-12-17 18:19:57 +0100 |
commit | 9c11f691bf781f21dc7ec9628238d06eba6391dc (patch) | |
tree | 25af0da12c6a4ee5615f0c94fbe951abf8d1502f /adapter/format | |
parent | 5f31d08c61410c1bcad075f483d7cdeb78a1170d (diff) | |
download | chawan-9c11f691bf781f21dc7ec9628238d06eba6391dc.tar.gz |
Add history
It's still missing a "color visited links" feature, but it's better than nothing.
Diffstat (limited to 'adapter/format')
-rw-r--r-- | adapter/format/uri2html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/adapter/format/uri2html b/adapter/format/uri2html new file mode 100644 index 00000000..20ae5670 --- /dev/null +++ b/adapter/format/uri2html @@ -0,0 +1,3 @@ +#!/bin/sh +echo "<!DOCTYPE html>${1+"<h1>$1</h1><hr>"}<ol>" +sed -e '/^#/d' -e 's@.*@<li><a href="&">&</a>@' |