diff options
Diffstat (limited to 'forth')
-rw-r--r-- | forth/gmi2html.fs | 16 |
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 |