Hey! Keep up to date with the project through its beta and public launch by following @getsparks.Tweet
CodeIgniter Starter Project − A Starting Point for Any CI Dev
December 12, 2011
A markdown extra helper to parse markdown extra
|: Log in to view|
|Author Website||: http://thomastraub.com/|
|Spark Website||: https://github.com/tomcode/ci-spark-markdown-extra|
|Repository Type||: git|
|Number of Installs||: 1,679|
php tools/spark install -v0.0.0 markdown-extraOr download this version manually: Get markdown-extra-0.0.0.zip
This CodeIgniter package/spark transforms markdown to HTML.
Kenny Katzgrau's markdown spark served me as blueprint.
Current version number 0.0.1
The package/spark consists of one helper function, parse_markdown_extra(), which accepts a block of markdown (extra), and returns HTML. You can install it either as package or as spark.
Load the spark and call the parse_markdown_extra() function.
# x.x.x is the version number $this->load->spark('markdown/x.x.x'); $html = parse_markdown_extra($some_markdown_string);
Add the package path, load the helper and call the parse_markdown_extra() function.
$this->load->add_package_path('path/to/the/markdown/package'); $this->load->helper('markdown-extra'); $html = parse_markdown_extra($some_markdown_string);
Send any questions to Thomas Traub.
January 30, 2012