Releases: github/markdown-toolbar-element
Releases · github/markdown-toolbar-element
1.0.6
<markdown-toolbar> element
Markdown formatting buttons for text inputs.
Installation
$ npm install --save @github/markdown-toolbar-element
Usage
import '@github/markdown-toolbar-element'
<markdown-toolbar for="textarea_id">
<md-bold>bold</md-bold>
<md-header>header</md-header>
<md-italic>italic</md-italic>
<md-quote>quote</md-quote>
<md-code>code</md-code>
<md-link>link</md-link>
<md-unordered-list>unordered-list</md-unordered-list>
<md-ordered-list>ordered-list</md-ordered-list>
<md-task-list>task-list</md-task-list>
<md-mention>mention</md-mention>
<md-ref>ref</md-ref>
</markdown-toolbar>
<textarea id="textarea_id"></textarea>
Browser support
Browsers without native custom element support require a polyfill.
- Chrome
- Firefox
- Safari
- Microsoft Edge
Development
npm install
npm test
License
Distributed under the MIT license. See LICENSE for details.
v1.0.5
v1.0.4
v1.0.3
- Add flow definition file for the element API
v1.0.0
markdown-toolbar-element 0.2.0
-
Drop IE 11 support
-
Stop transforming custom element classes