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)

Example

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

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

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;

//ol
Item 1
	Item 1a
Item 2
Item 3

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