A Humane Web Text Generator
A lightweight markup language that takes (almost) plaintext and converts it into well formed HTML.
The only file that is necessary for the correct operation of Textile is
classTextile.php from the project root directory. However, to use additional features you may need to install other files from the project tree.
For live installations only files and subdirectories from the
master branch should be used. Code from other branches should not be used on live sites.
You’ll need to include the source file and instantiate a parser…
include "classTextile.php"; # adjust paths if needed. $textile = new Textile();
Then, for input that you control, pass it to
TextileThis(). Like so…
$output = $textile->TextileThis( $trusted_input );
If you are using Textile to format user-supplied input, blog comments for instance, use a
$output = $textile->TextileRestricted( $untrusted_input );
The Textile project welcomes translations of the documentation found under the
docs\ folder. For information on how to contribute translations please get in contact.
Getting In Contact
The textile project welcomes constructive input and bug reports from users. You can contact us in several ways.