diff --git a/links-to-html.lua b/links-to-html.lua new file mode 100644 index 0000000..935304b --- /dev/null +++ b/links-to-html.lua @@ -0,0 +1,6 @@ +-- links-to-html.lua converts links to local Markdown documents to +-- there respective .html counterparts. +function Link(el) + el.target = string.gsub(el.target, "%.md", ".html") + return el +end diff --git a/man/man1/osf2txt.1 b/man/man1/osf2txt.1 index 858b8af..8d2d612 100644 --- a/man/man1/osf2txt.1 +++ b/man/man1/osf2txt.1 @@ -14,15 +14,15 @@ OPTIONS .IP .nf \f[C] --generate-manpage generate man page --generate-markdown generate Markdown documentation --h, -help display help --i, -input set the input filename --l, -license display license --nl, -newline add a trailing newline --o, -output set the output filename --quiet suppress error messages --v, -version display version +-generate-manpage generate man page +-generate-markdown generate Markdown documentation +-h, -help display help +-i, -input set the input filename +-l, -license display license +-nl, -newline add a trailing newline +-o, -output set the output filename +-quiet suppress error messages +-v, -version display version \f[R] .fi .PP diff --git a/osf2txt.1.html b/osf2txt.1.html index f82388f..95d222f 100644 --- a/osf2txt.1.html +++ b/osf2txt.1.html @@ -30,15 +30,15 @@
DESCRIPTION
osf2txt is a command line program that reads an osf file and returns plain text
OPTIONS
--generate-manpage generate man page
--generate-markdown generate Markdown documentation
--h, -help display help
--i, -input set the input filename
--l, -license display license
--nl, -newline add a trailing newline
--o, -output set the output filename
--quiet suppress error messages
--v, -version display version
+-generate-manpage generate man page
+-generate-markdown generate Markdown documentation
+-h, -help display help
+-i, -input set the input filename
+-l, -license display license
+-nl, -newline add a trailing newline
+-o, -output set the output filename
+-quiet suppress error messages
+-v, -version display version
EXAMPLES
Convert screenplay.osf into screenplay.txt.
osf2txt -i screenplay.osf -o screenplay.txt
diff --git a/osf2txt.1.md b/osf2txt.1.md
index 5042f21..c6b80f5 100644
--- a/osf2txt.1.md
+++ b/osf2txt.1.md
@@ -8,15 +8,15 @@ and returns plain text
OPTIONS
- -generate-manpage generate man page
- -generate-markdown generate Markdown documentation
- -h, -help display help
- -i, -input set the input filename
- -l, -license display license
- -nl, -newline add a trailing newline
- -o, -output set the output filename
- -quiet suppress error messages
- -v, -version display version
+ -generate-manpage generate man page
+ -generate-markdown generate Markdown documentation
+ -h, -help display help
+ -i, -input set the input filename
+ -l, -license display license
+ -nl, -newline add a trailing newline
+ -o, -output set the output filename
+ -quiet suppress error messages
+ -v, -version display version
EXAMPLES
diff --git a/version.go b/version.go
index 6d88f32..3db8cc6 100644
--- a/version.go
+++ b/version.go
@@ -12,7 +12,7 @@ const (
ReleaseDate = "2023-06-20"
// ReleaseHash, the Git hash when version.go was generated
- ReleaseHash = "05f5925"
+ ReleaseHash = "aa27ad3"
LicenseText = `
All rights reserved.