README from the Makefile - tttml - converters for a simpler syntax than markdown HTML git clone git://bitreich.org/tttml git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tttml DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 804fed3a85273f744cb32929e5a05899d7f5025b DIR parent 7b9791b74ab0b32f728884b0416ac55c9825f0d0 HTML Author: Josuah Demangeon <mail@josuah.net> Date: Fri, 20 Apr 2018 03:15:32 +0200 README from the Makefile Diffstat: M Makefile | 5 ++--- M README | 73 +++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 3 deletions(-) --- DIR diff --git a/Makefile b/Makefile @@ -4,9 +4,8 @@ MAN5 = markup.5 all: - -README: $(MAN5) - mandoc -T utf8 $(MAN5) | col -bx >$@ +README: Makefile $(MAN1) $(MAN5) + mandoc -T utf8 $(MAN5) $(MAN1) | col -bx >$@ install: mkdir -p $(PREFIX)/bin DIR diff --git a/README b/README @@ -84,3 +84,76 @@ AUTHORS Josuah Demangeon <mail@josuah.net> OpenBSD 6.3 April 19, 2018 OpenBSD 6.3 + +------------------------------------------------------------------------------ + +MARKUP-FMT(1) General Commands Manual MARKUP-FMT(1) + +NAME + markup-fmt pretty-print and fix a markup file + +SYNOPSIS + markup-fmt [file...] + +DESCRIPTION + The markup-fmt utility reformat a markup(5) and print valid format to + stdout. + + Most markdown documents can be converted to markup(5) format if they do + not have recursive elents such as nested lists or quotes. + + The paragraphs are being filled to 80 columns, + + The empty lines are set as apropriate + + The blocks merged together are separated, such as lists without + separating blank spaces. + + The title and heading horizontal lines are expanded to 80 + columns. + + The tags with the tagline merged with the paragraph are separated + on their own line. + +SEE ALSO + markup-gopher(1), smu(1), markup(5), simple markup - markdown like + syntax: https://github.com/Gottox/smu + +AUTHORS + Josuah Demangeon <mail@josuah.net> + +OpenBSD 6.3 April 19, 2018 OpenBSD 6.3 + +------------------------------------------------------------------------------ + +MARKUP-GOPHER(1) General Commands Manual MARKUP-GOPHER(1) + +NAME + markup-gopher generate a gophermap from a markup file + +SYNOPSIS + markup-opher host port [file...] + +DESCRIPTION + The markup-gopher utility convert file to a gophermap format, simply by + converting all link entries, converting tabs into spaces and printing the + rest. host and port is used to set the host in links that do not have a + host, such as + /path/to/file.txt + + All URI starting with a / and ending with a / are printed + using the 1 entry type + + All URI starting with a / and not ending with a / are printed + using the 0 + + All URI starting with 0, 1, 7, 8, 9, a, g, h or + I followed by a / and all li gopher:// URI are printed + using the corresponding entry type. + + All other URI are printed using the h entry type + +AUTHORS + Josuah Demangeon <mail@josuah.net> + +OpenBSD 6.3 April 19, 2018 OpenBSD 6.3