Skip to content
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
libraries
README.md
splint.json

README.md

ci-parsedown


This is a Code Igniter equivalent package of the PHP Markdown library called 'Parsedown', which can be found at https://github.com/erusev/parsedown

Installation

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.

Loading

From anywhere (Controller, Model, etc.)

$this->load->splint("francis94c/ci-parsedown", "+Parsedown", null, "parsedown");

Auto-Loading

$autoload["splint"] = array("francis94c/ci-parsedown" => array("+Parsedown", null, "parsedown"));

Usage

After loading

$output = $this->parsedown->text("_Hello World_"); // Whole conversion

$output = $this->parsedown->line("_Hello world_"); // Inline conversion
You can’t perform that action at this time.