textile - Translate Textile markup language to HTML
# translate a text file to HTML, print to screen textile file.txt # translate a snippet of text to HTML echo "hi there" | textile # translate a text file, output to a file textile -outfile out.html file.txt # translate a text file, output to a legal full HTML file # (By default, textile doesn't output <html>, <head> and <body> tags) textile -fullpage -outfile out.html file.txt # translate a text file, output to a legal full HTML file, add title # (-title implies -fullpage) textile -title "My <blink>133t</blink> web page" -outfile out.html file.txt
This program uses Brad Choate's Text::Textile module to convert text in the Textile markup language into HTML. For example, it will convert "_hi_ there" to <p><em>hi</em> there</p>. Textile (developed by Dean Allen of http://textism.com lets you quickly write simple (or not so simple) text that (a) can be read as is, and (b) turns into readable HTML.
<p><em>hi</em> there</p>
Amir Karger, akarger@cpan.org
Brad Choate built Text::Textile Dean Allen of Textism.com developed Textile.
Text::Textile, http://textism.com
To install Text::Textile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Textile
CPAN shell
perl -MCPAN -e shell install Text::Textile
For more information on module installation, please visit the detailed CPAN module installation guide.