Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

Juicy/juicy-markdown

Repository files navigation

⚠️ 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