Alotor
Alotor

Reputation: 7477

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.

Upvotes: 6

Views: 1175

Answers (1)

Charles
Charles

Reputation: 6317

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>

Upvotes: 9

Related Questions