Top Qs
Timeline
Chat
Perspective
Setext
Lightweight markup language for text documents From Wikipedia, the free encyclopedia
Remove ads
Setext (Structure Enhanced Text)[2] 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 1991 by Ian Feldman for use in the TidBITS electronic newsletter.
Remove ads
Purpose
Setext allows viewing of marked-up documents without special viewing software. When appropriate software is used, however, a rich text-style experience is available to the user.
Smaller documents are trivial to create in any text editor.
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.
Multiple setext documents in the same file
Multiple setext documents can be stored in the same file, similarly to how the mbox format can store multiple e-mail messages together.
It was initially announced[1] that multiple documents could be included in a single stream, separated by a special <end>
tag serving as a document delimiter[b]. After several months, it was clarified[3] that this tag was not an official part of setext, and that multiple documents should instead be delimited by $$
appearing at the end of a line of text.
Regardless of the number of documents stored in the same file, basic metadata can be stored about any or all of them by using the subject-tt tag syntax.
Remove ads
Setext tags
Summarize
Perspective
The following are the ten most common of the 16 different setext tags.[4][5][c]
Remove ads
Standalone Setext files
By default all properly setext-ized files will have an ".etx" or ".ETX" suffix. This stands for an "emailable/enhanced text".[1]
See also
Other lightweight markup languages (inspired by Setext):
References
External links
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads