Skip to content

MaritzSTL/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

About

DEPRECATED! GitHub Flavored Markdown (GFM) viewer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 87.4%
  • JavaScript 12.6%