TxStyle · Textile Documentation

The Textile Markup Reference for Textpattern

Superscript and subscript

Superscript is indicated by surrounding carets ^, and subscript text by surrounding tildes ~ after a preceding space.

Input (editable)


More about: Superscript and subscript

To avoid spaces around the super- and subscripted text, square brackets have to be used. The above example then should be rewritten as:

Global warming in the 21[^st^] century is mostly caused by CO[~2~] in the atmosphere.

or a chemical formula:

Calcium borate: Ca[~3~](BO[~3~])[~2~]

Paste code into the box above.

Further reading: Superscript and subscript

Further Information
PHP Textile versions
Textile related linklists

Blank input form
Table Data Converter

Report Issues
Issues on PHP Textile (GitHub)

PHP Textile v3.6.0