TxStyle · Textile Documentation

The Textile Markup Reference for Textpattern

Unicode symbols

Some unicode symbols can be produced by placing simple characters in parentheses or square brackets.

Input (editable)


More about: Unicode symbols

  1. Other unicode characters and symbols

Unicode symbols can be entered in decimal form, like this:

p{font-size:20pt}. ☢ ☁ ♘

With a browser that is capable and a font that supports the characters you will see this:

☢ ☁ ♘

  1. Conversion of hexadecimal representation of Unicode symbols

For searching and conversion of unicode symbols into the HTML form, see the Unicode character table tool.

  1. Setting alternate glyphs

Textile’s typographic substitutions can be overridden with the setSymbol method. If you need to setup Textile to do non-standard substitutions, call setSymbol before you parse the input with textileThis or textileRestricted.

$parser = new \Netcarver\Textile\Parser();
$parser->setSymbol('half', '1⁄2');
$parser->textileThis('Hello [1/2] World!');

The symbol names you can pass to setSymbol() can be found here.

Paste code into the box above.

Further reading: Unicode symbols

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