Brad Templeton Home ClariNet
|
|
Simple Formatter Language
I do a lot of my text up in this simple formatter language. I have a program that translates from it to HTML or RTF or other forms. The rules are simple: Blank line between paragraphs. Commands (which begin with a dot) also delimit paragraphs. Most substitutions done by brace functions in the form {funcname args}. So for example {bo boldwords} gives you boldwords. You can escape a brace with \{, and get a backslash with \\.
There are dozens more.
Dot-CommandsThe dot commands do your block stuff.
There are dozens more of these too.
|