|Developed by||Ian Feldman|
|Type of format||Markup language|
Setext is a lightweight markup language used to format plain text documents such as e-newsletters, Usenet postings, and e-mails. In contrast to some other markup languages (such as HTML), the markup is easily readable without any parsing or special software.
Setext was first introduced in 1992 by Ian Feldman for use in the TidBITS electronic newsletter.
Setext allows viewing of marked-up documents without special viewing software. To prevent errors, most large setext publications are created using a markup language such as HTML or SGML and then converted. The setext document can then be distributed without the need for the recipient to use a html email or web viewer.
The following are the most common setext tags.
||A distinct title identified by the text, maximum one per setext.
Must start at the beginning of the line.
||A distinct subheading identified by the text, zero or more per text.
Must start at beginning of line. See note in title-tt about handling.
|indent-tt||66-char lines indented by 2 spaces||
|Lines undented and unfolded (longer lines are generally tolerated by most parsers).
This is primary body text, generally plain undented in emails, etc. currently.
||One or more bold words, generally *word* or **word** in emails|
||Single italicized word; unclear why multi-word form not available.
Multi-word form of ~first~second~third~ supported by setext2latex.
||Display in a (user) selected style, preferably with underlining--except in browsers where underlining corresponds to hot links.
One or more underlined words
||Displayed in a user selected style, preferably monospaced with the leading ">"|
||Displayed in bullet or list format.|
Standalone Setext files
By default all properly setext-ized files will have an ".etx" or ".ETX" suffix. This stands for an "emailable/enhanced text",
Other lightweight markup languages (inspired by Setext):
- Markdown, one of the most used.
- reStructuredText, used to generate Python documentations.
- Textile, designed to generate HTML.
- http://valdemar.net/~erik/site-features/setext/ Setext command reference