Skip to content

Releases: github/markdown-toolbar-element

1.0.6

08 Aug 09:04
c6d9760
Compare
Choose a tag to compare

<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

30 Jul 15:42
dd0ffba
Compare
Choose a tag to compare
  • Merge pull request #13 from github/add-typescript-definition-file 33c0857
  • use union type to include undefined and null 4709442
  • add typescript definition file c9ec083
  • run npm audit fix 2438bf6

v1.0.4...v1.0.5

v1.0.4

03 Jul 16:44
9b21198
Compare
Choose a tag to compare
  • Merge pull request #12 from github/update-deps b2c6c3e
  • update eslint, eslint-plugin-github, flow-bin and babel-preset-github manually to latest versiosn 481e495
  • fix shadowed variable b8a6e49
  • run npm update a7f9be6

v1.0.3...v1.0.4

v1.0.3

16 May 09:34
61c89bc
Compare
Choose a tag to compare
  • Add flow definition file for the element API

v1.0.2...v1.0.3

v1.0.0

22 Apr 18:37
e250d96
Compare
Choose a tag to compare

Tagging for stable release, no code changes.

markdown-toolbar-element 0.2.0

22 Feb 10:45
Compare
Choose a tag to compare
  • Drop IE 11 support

  • Stop transforming custom element classes