Markdown Helper
This helper has the markdown function originally developed by John Gruber and modified by Michel Fortin to be used for PHP. It has some similar characteristics to the auto_typography function in the typography helper.
This helper is loaded using the following code:
$this->load->helper('markdown');
markdown(str)
Converts normal text into html syntax.
$str = ' This is a paragraph. * list item 1 * list item 2 '; echo markdown($str); // echos out <p>This is a paragraph.<p> <ul> <li>list item 1</li> <li>list item 2</li> </ul>
For complete syntax documentation click here.