markedjs-extra
This repository began as a GitHub fork of chjj/marked This is a plugins to enable support for Markdown Extra syntax. Open demo/demo.html to try it yourself.
install
- install with Bower: bower install markedjs-extra --save
- install with npm: npm install marked-extra --save
Usage
Minimal usage:
var marked = ;console;// Outputs: <p>I am using <strong>markdown</strong>.</p>
Example setting options with default values:
var marked = ;marked; console;
Browser
Marked in the browser
more details https://github.com/chjj/marked/blob/master/README.md
New Feature
(you should set the option extra true)
checkbox
The following markdown:
-[] test
will render to something like this depending on how you choose to style it: test
Definition Lists
The following markdown:
Term 1: Definition 1 Term 2: This definition has a code block. code block
will render to something like this depending on how you choose to style it:
- Term 1
- Definition 1
- Term 2
-
This definition has a code block.
code block
Footnotes
Here is a footnote[^footnote]. [^footnote]: Here is the *text* of the **footnote**.
Here is a footnote1.
- Here is the text of the footnote. ↩