# <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
boldheaderitalicquotecodelinkimageunordered-listordered-listtask-listmentionref
```
`` comes with focus management as advised in [WAI-ARIA Authoring Practices 1.1: Toolbar Design Pattern](https://www.w3.org/TR/wai-aria-practices-1.1/examples/toolbar/toolbar.html). The `md-*` buttons that ship with this package are automatically managed. Add a `data-md-button` attribute to any custom toolbar items to enroll them into focus management.
## 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.