about summary refs log tree commit diff stats
path: root/forth/gmi2html.fs
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2022-11-20 22:26:27 -0500
committerelioat <elioat@tilde.institute>2022-11-20 22:26:27 -0500
commit61803a43b427fc9aee6e2b06c8d3e2902bf5adbb (patch)
tree0850a34e3d132525de855561a4d266ad27e45889 /forth/gmi2html.fs
parent7fb19d2655a47f6767ac5b46467110976f41d493 (diff)
downloadtour-61803a43b427fc9aee6e2b06c8d3e2902bf5adbb.tar.gz
*
Diffstat (limited to 'forth/gmi2html.fs')
-rw-r--r--forth/gmi2html.fs16
1 files changed, 10 insertions, 6 deletions
diff --git a/forth/gmi2html.fs b/forth/gmi2html.fs
index 5d75e87..bd9f301 100644
--- a/forth/gmi2html.fs
+++ b/forth/gmi2html.fs
@@ -1,11 +1,15 @@
 \ 2022 - winduptoy.sensorstation.co
 \ PUBLIC DOMAIN
 
-\ from: 
-\ https://winduptoy.sensorstation.co/gmi2html.fs
-
-\ usage: 
-\ cat gemtext.gmi | gforth gmi2html.fs > out.html
+\ USAGE
+\ $ cat in.gmi | gforth gmi2html.fs > out.html
+\
+\ This only outputs major blocks, allowing full customization of the HTML document.
+\ Best used in composition, like so:
+\ 
+\ $ cat _header.html > out.html
+\ $	cat in.gmi | gforth gmi2html.fs >> out.html
+\ $ cat _footer.html >> out.html
 
 \ === HTML Output === \
 
@@ -167,4 +171,4 @@ variable capture-state
 gmi-to-html
 
 depth throw \ ensure stack is clean
-bye
+bye
\ No newline at end of file