Plugin: Markdown

Version
0.1.0
Size
0 k
Author
ambitionframework.org <ambitionframework -dot- org>
Description
Provides Markdown integration via peg-markdown
Last Updated
2014-10-27
Views
822

Markdown

What is it for?

The Markdown plugin integrates peg-markdown easily as a loadable plugin. The original library can be found at https://github.com/jgm/peg-markdown.

Installation and Configuration

The TextCaptcha plugin can be installed using the usual Ambition plugin tool. The plugin will link with your application.

Using Markdown

The Markdown module will parse Markdown content in a string, and return a string containing HTML.

In a model or controller:

using Ambition.Helper;
public void example_method() {
    string result = Markdown.process("# Header\n\nContent!");
}