ActionScript library to convert Markdown to HTML

后端 未结 1 1419
無奈伤痛
無奈伤痛 2021-02-09 14:12

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

相关标签:
1条回答
  • 2021-02-09 15:04

    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>
    
    0 讨论(0)
提交回复
热议问题