Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.62 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.62 KB

⚠️ This element is DEPRECATED. We recommend to use marked-element in new projects.

<juicy-markdown>

Polymer Element with GitHub Flavored Markdown (GFM) viewer

Demo

Check it live!

Install

Install the component using Bower:

$ bower install juicy-markdown --save

Or download as ZIP.

Usage

  1. Import Web Components' polyfill:

    <script src="bower_components/webcomponentsjs/webcomponents.js"></script>
  2. Import Custom Element:

    <link rel="import" href="bower_components/juicy-markdown/juicy-markdown.html">
  3. Start using it!

    <juicy-markdown value="# Markdown here"></juicy-markdown>

Options

Attribute Options Default Description
value string `` Markdown to render.
ghcss boolean false Should ghithub-markdown.css be imported?

See also

Notes

History

For detailed changelog, check Releases.

License

MIT