Textile · HTML

TxStyle · Textile Documentation

The Textile Markup Reference for Textpattern


HTML

Raw HTML or XHTML tags are generally left untouched by Textile.



Input (editable)

Browser
HTML

More about: HTML

1) To prevent Textile from enclosing complex HTML blocks in paragraph tags, either use a space at the beginning of each line

 <div>
 <span>My div</span>
 </div>

or a notexile.. extended block.

notextile.. <div>
<span>My div</span>
</div>

2) HTML comments are respected as comments

Here is some text with a <!-- Commented out[1] --> block.

<!-- Here is a single <span>line</span> comment block -->

<!-- Here is a whole
multiline
<span>HTML</span>
Comment
-->

3) Unicode characters and symbols

Just like any other HTML characters, unicode symbols are ignored by Textile.

p{font-size:20pt}. &#9762; &#9729; &#9816;

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

☢ ☁ ♘

Paste code into the box above.




PHP Textile v3.5.5


Donate Textpattern developers.