Polymer Element with GitHub Flavored Markdown (GFM) viewer
Install the component using Bower:
$ bower install juicy-markdown --save
Or download as ZIP.
-
Import Web Components' polyfill:
<script src="bower_components/webcomponentsjs/webcomponents.js"></script>
-
Import Custom Element:
<link rel="import" href="bower_components/juicy-markdown/juicy-markdown.html">
-
Start using it!
<juicy-markdown value="# Markdown here"></juicy-markdown>
Attribute | Options | Default | Description |
---|---|---|---|
value |
string | `` | Markdown to render. |
ghcss |
boolean | false |
Should ghithub-markdown.css be imported? |
<juicy-markdown-editor>
- simple Markdown editor<juicy-markdown-tabbededitor>
- Markdown editor, with tabs like the one at GitHub.com
juicy-markdown
is a hybrid element.
For detailed changelog, check Releases.
MIT