项目作者: MoritzGoeckel

项目描述 :
Markdown to HTML parser written in Javascript
高级语言: JavaScript
项目地址: git://github.com/MoritzGoeckel/Markdown-to-HTML.git
创建时间: 2017-04-26T08:54:12Z
项目社区:https://github.com/MoritzGoeckel/Markdown-to-HTML

开源协议:

下载


Markdown to HTML in JS

This is a md to html parser in javascript. To try it out: Live!

Example markdown input

  1. # h1
  2. # h11
  3. ## h2
  4. * Item 1
  5. * Item 2
  6. *Kursiv* nichts **bold**
  7. Normaler Text in Absatz
  8. > Zitat
  9. > Zweite Zeile

Example visual output

Example formatted md visual output

Example HTML output

  1. <h1>h1</h1>
  2. <h1>h11</h1>
  3. <h2>h2</h2>
  4. <li>Item 1</li>
  5. <li>Item 2</li>
  6. <span class='paragraph'><i>Kursiv</i> nichts <b>bold</b></span>
  7. <span class='paragraph'>Normaler Text in Absatz</span>
  8. <span class='quote'>Zitat</span>
  9. <span class='quote'>Zweite Zeile</span>