eXtensible TeXT (xTxT)

xTxT is a syntax for rapid generation of HTML without the full HTML tag scheme. It operates on the simple premise if atomized content, separated by whitespace, and prefaced with slashed tags.

Goals of xTxT include;

  • Rapid generation of HTML content
  • Hand-entry using a simple text editor
  • Strong resistance to grammatical errors
  • Extensibility through the creation of new custom tags
  • Flexible styling and rendering options (via XSL and CSS)


As a simple example, let's suppose you want an ordered list. In HTML, a simple list might be described as follows;

<li>Item 1</li>
<li>Item 1a</li>
<li>Item 2</li>
<li>Item 3</li>

Which renders in HTML as;

  1. Item 1
    1. Item 1a
  2. Item 2
  3. Item 3

xTxT greatly simplifies this syntax, so that the exact same hierarchical list can be generated as;

Item 1
	Item 1a
Item 2
Item 3

For full details, see docs.xtxt.sygnal.com.