The Textile Markup Reference for Textpattern
Some unicode symbols can be produced by placing simple characters in parentheses or square brackets.
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:
☢ ☁ ♘
For searching and conversion of unicode symbols into the HTML form, see the Unicode character table tool.
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 Information
PHP Textile versions
Textile related linklists
Tools
Blank input form
Table Data Converter
Report Issues
Issues on PHP Textile (GitHub)