A txt2sgml.sed sample file:
* Hey, here are the first 3 magic lines
* The document title / author / date
* But they required those asterisks at the beginning
MAIN TITLE
Titles were made by uppercase-only lines. Subtitles were identified by
leading spaces. Each space denoted a new sublevel. The beautifiers:
*bold*, **strong**, "italic" and `typewriter`.
- lists
+ sublists
= and subsublists (by identifier, not indentation)
Two blank lines to close lists. Links as www.example.com and e-mails
were recognized automagically by regular expressions. And there was a
strange image mark:
%%image: path/to/image.jpg