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

DEPRECATED! GitHub Flavored Markdown (GFM) editor with filedrop, paste functionality and a preview window

License

Notifications You must be signed in to change notification settings

Juicy/juicy-markdown-tabbededitor

Repository files navigation

⚠️ This element is DEPRECATED. See the deprecation announcement.

<juicy-markdown-tabbededitor>

Polymer Element with GitHub Flavored Markdown (GFM) editor with file drop, paste functionality and a preview tab

Demo

Preview

Check it live!

Install

Install the component using Bower:

$ bower install juicy-markdown-tabbededitor --save

Or download as ZIP.

Usage

  1. Import Web Components' polyfill, if needed:

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

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

    <juicy-markdown-tabbededitor></juicy-markdown-tabbededitor>

Options

Attribute Options Default Description
index number `` Index of a tab to be shown by default.
footer string `` Text/HTML to be shown as a footer.

This component extends <juicy-markdown-editor> so check its options

Attribute Options Default Description
value string `` Markdown to render.
placeholder string `` Input placeholder.
uploadurl string `` URL to files storage server, see <juicy-filedrop url>.
customheader string x-file Name for custom header that contains JSON with file meta data, see <juicy-filedrop customheader>.
ghcss boolean false Should ghithub-markdown.css be imported? see <juicy-markdown ghcss>.

See also

History

For detailed changelog, check Releases.

License

MIT

About

DEPRECATED! GitHub Flavored Markdown (GFM) editor with filedrop, paste functionality and a preview window

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages