Hey! Keep up to date with the project through its beta and public launch by following @getsparks.

 
0
5
0
2,313 Installs

Basic Information: markdown

A markdown helper for easy parsing of markdown

Contributor : katzgrau
Email : Log in to view
Author Website : http://codefury.net
Spark Website : https://bitbucket.org/katzgrau/ci-spark-markdown
Repository Type : hg
Number of Installs : 2,313

Get the Latest

  • 1.2.0 Pushed March 6th, 2011
    php tools/spark install -v1.2.0 markdown Or download this version manually: Get markdown-v1.2.zip

How-To

Markdown

This spark can be used to transform markdown to HTML. It includes and uses third-party class available at http://michelf.com/projects/php-markdown/.

It is currently in use at GetSparks.org.

Usage

To use this spark, first load it. After that, you can call the parse_markdown function, which accepts a block of markdown, and returns HTML. Here's an example:

# Below, x.x is the version number
$this->load->spark('markdown/x.x');
$html = parse_markdown($some_markdown_string);

Support

Send any questions to me at katzgrau@gmail.com, or find me on Twitter: @_kennyk_

Older Versions

  • 1.1.0 Pushed February 13th, 2011
    php tools/spark install -v1.1.0 markdown Or download this version manually: Get markdown-v1.1.zip
  • 1.0.0 Pushed February 11th, 2011
    php tools/spark install -v1.0.0 markdown Or download this version manually: Get markdown-v1.0.zip

Comments

blog comments powered by Disqus