TxStyle · Textile Documentation

The Textile Markup Reference for Textpattern


Character conversions

Some input characters are automatically converted into corresponding unicode characters.



Input (editable)

Browser
HTML

More about: Character conversions

1) A hyphen is not converted within hyphenated words:

The T-Rex has a movement-based vision.

2) For the dimension sign, conversion also occurs when other characters are in between numbers:

The kitchen measures 5' x 5'6".

3) Somtimes square brackets on either side of an ellipsis points are used to distinguish between an ellipsis that you’ve added and the ellipses that might have been in the original text, like so:

“Bohr […] used the analogy of parallel stairways […].” (Smith 55).

In order to achieve this, the unicode symbol for ellipsis (…) must be entered directly:

"Bohr […] used the analogy of parallel stairways […]." (Smith 55).

4) When automatic character conversion is not wanted, the Textile formatting can be temporarily suspended by wrapping the text passage into ==.

Straight apostrophes are =="left alone"== in this example.

5) Foreign quotation marks, such as french guillemets, can be specified in the css, and then used in the body with the <q> </q> tags.

<head>
<style type="text/css">
<!-- 
q{quotes:"\00AB" "\00BB";}
-->
</style>
</head>

<body>
<q>Quoted text here</q>
</body>

Paste code into the box above.

Further reading: Character conversions




PHP Textile v3.5.5


Donate Textpattern developers.