markdown-toolbar-element
Markdown formatting buttons for text inputs.
<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.
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
- Released
- 2019-04-26
- Maturity
- IMPORTED
- License
- MIT License
Compatibility
- Framework
- Browser
- Browser Independent
markdown-toolbar-element - Vaadin Add-on Directory
Markdown formatting buttons for text inputs.# <markdown-toolbar> element
Markdown formatting buttons for text inputs.
## Installation
```
$ npm install --save @github/markdown-toolbar-element
```
## Usage
```js
import '@github/markdown-toolbar-element'
```
```html
bold
header
italic
quote
code
link
unordered-list
ordered-list
task-list
mention
ref
```
## Browser support
Browsers without native [custom element support][support] require a [polyfill][].
- Chrome
- Firefox
- Safari
- Microsoft Edge
[support]: https://caniuse.com/#feat=custom-elementsv1
[polyfill]: https://github.com/webcomponents/custom-elements
## Development
```
npm install
npm test
```
## License
Distributed under the MIT license. See LICENSE for details.
View on NPMView on GitHub
markdown-toolbar-element version 0.1.0
### Dependencies
markdown-toolbar-element version 0.1.1
### Dependencies
markdown-toolbar-element version 0.2.0
### Dependencies
markdown-toolbar-element version 1.0.0
### Dependencies
markdown-toolbar-element version 1.0.1
### Dependencies
markdown-toolbar-element version 1.0.2
### Dependencies