marksman: first pass at a modern take on manual pages
authorAlan Cox <alan@linux.intel.com>
Wed, 21 Sep 2016 22:56:28 +0000 (23:56 +0100)
committerAlan Cox <alan@linux.intel.com>
Wed, 21 Sep 2016 22:56:28 +0000 (23:56 +0100)
commit5985c6323cbd5c34b1f478d91b516dfe8f1dc7c9
tree4972f290ff993f24031daafe25ea657df4c3dc1b
parent26cad93e7208346d2939e05fdf8d5f4c69c51122
marksman: first pass at a modern take on manual pages

Stuff nroff, it's slow complicated and produces wonderful typeset paper manual
pages when what we actually need are fast online ones.

manscan is a simple tool to hoik blocks of markdown out of code

marksman is a first pass at a tool for outputting markdown in a sort of man
page format.

It understands the line based mark ups

````

1. Foo
2. Foo

* Foo
* Bar

+ Foo
+ Bar

- Foo
- Bar

Along with double space indenting

[link][foo]
[link](foo)
[link]
[link]: foo

![text][picture]
![text](picture)

````

inline markup: * ** _ __ ~ ~~

| table |

but not a lot of the nicer formatting options, and it doesn't handle lengths
correctly yet either.

It's missing subtables, inline ````, inline HTML (as we don't use HTML) and
some other oddments

It also supports \* etc to quote meta symbols for inline formatting and it
has an extension for name/content (HTML DT/DD style) lists
Applications/util/Makefile
Applications/util/Makefile.6809
Applications/util/manscan.c [new file with mode: 0644]
Applications/util/marksman.c [new file with mode: 0644]