A MarkDown parsing library for Code Igniter. Originally from https://parsedown.org
This is a Code Igniter equivalent package of the PHP Markdown library called 'Parsedown', which can be found at https://github.com/erusev/parsedown
To install, download the Splint terminal tool at https://splint.cynobit.com/downloads/splint and run
splint install francis94c/ci-parsedown
from the root of your Code Igniter distribution.
From anywhere (Controller, Model, etc.)
$this->load->splint("francis94c/ci-parsedown", "+Parsedown", null, "parsedown");
$autoload["splint"] = array("francis94c/ci-parsedown" => array("+Parsedown", null, "parsedown"));
After loading
$output = $this->parsedown->text("_Hello World_"); // Whole conversion
$output = $this->parsedown->line("_Hello world_"); // Inline conversion
with from CynoBit