Txt2tags marked files are divided in 3 areas. Each area have its own rules and purpose. They are:
As seen above, the first two Areas are optional, being Body Area the only required one.
The areas are delimited by special rules, which will be seen in detail on the next chapter. For now, this is a graphical representation of the areas on a document:
____________
| |
| HEADERS | 1. First, the Headers
| |
| CONFIG | 2. Then the Settings
| |
| BODY | 3. And finally the Document Body,
| |
| ... | which goes until the end
| ... |
|____________|
In short, this is how the areas are defined:
| Headers | First 3 lines of the file, or the first line blank for No Headers. |
| Config | Begins right after the Header (4th or 2nd line) and ends when the Body Area starts. |
| Body | The first valid text line (not comment or setting) after the Header Area. |
My nice doc Title Mr. John Doe Last Updated: %%mtime(%c) %! Target : html %! Style : fancy.css %! Encoding: iso-8859-1 %! Options : --toc --enum-title Hi! This is my test document. Its content will end here.