Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActionScript library to convert Markdown to HTML

I'm currently working on a Flex 3.0 project in which I have to display some input text with minimum formatting.

We are considering to use "markdown" as the chosen way to express this formatting, now I would like to know if there is a library for this purpose.

like image 766
Alotor Avatar asked May 04 '09 13:05

Alotor


1 Answers

You could use my AS3 port of John Fraser's Showdown.

// Usage:
var text = "Markdown *rocks*.";
var html = Showdown.makeHtml(text);

// <p>Markdown <em>rocks</em>.</p>
like image 184
Charles Avatar answered Oct 06 '22 00:10

Charles