aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-21 15:13:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-21 15:13:25 +1300
commit725caed4088358a7ebea4a9e855665ee8e1c84db (patch)
tree93cfd01030ca84dcfc876fc7567bd2d7b86e481f /man
parentRevert "Color ed(1) prompt if possible" (diff)
downloaddotfiles-725caed4088358a7ebea4a9e855665ee8e1c84db.tar.gz
dotfiles-725caed4088358a7ebea4a9e855665ee8e1c84db.zip
Add htref(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/htref.1df20
1 files changed, 20 insertions, 0 deletions
diff --git a/man/man1/htref.1df b/man/man1/htref.1df
new file mode 100644
index 00000000..922188dc
--- /dev/null
+++ b/man/man1/htref.1df
@@ -0,0 +1,20 @@
+.TH HTREF 1df "January 2017" "Manual page for htref"
+.SH NAME
+.B htref
+\- turn URLs into HTML links
+.SH SYNOPSIS
+htenc urls |
+.B htref
+| nlbr > urls.html
+.SH DESCRIPTION
+.B htref
+looks for http:// and https:// URLs, and wraps <a href="..."> tags around them
+pointing to the same URL. HTML encoding of the URL should be done before this
+step.
+.P
+All characters that are not spaces, tabs, or angle brackets are included in the
+URL.
+.SH SEE ALSO
+htenc(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>