The Wayback Machine - https://web.archive.org/web/20191108184953/https://github.com/github/markdown-toolbar-element/releases
Skip to content

@koddsson koddsson released this Sep 26, 2019 · 2 commits to master since this release

  • New <md-image> element (#22).
  • Add support for heading levels in <md-header> (#20, #24).
  • Dependency updates, development enhancements and minor fixes

v1.0.7...v1.1.0

Assets 2

@keithamus keithamus released this Sep 12, 2019 · 24 commits to master since this release

v1.0.6...v1.0.7

Assets 2

@koddsson koddsson released this Aug 8, 2019 · 32 commits to master since this release

<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.

Assets 2

@koddsson koddsson released this Aug 8, 2019 · 31 commits to master since this release

  • Merge pull request #14 from github/publish-to-gpr-as-well c6d9760
  • publish to GPR as a postpublish step 662808e

v1.0.5...v1.0.6

Assets 2

@koddsson koddsson released this Jul 30, 2019 · 34 commits to master since this release

  • 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

Assets 2

@koddsson koddsson released this Jul 3, 2019 · 39 commits to master since this release

  • 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

Assets 2

@koddsson koddsson released this May 16, 2019 · 44 commits to master since this release

  • Add flow definition file for the element API

v1.0.2...v1.0.3

Assets 2
Apr 26, 2019
1.0.2
Apr 23, 2019
1.0.1

@muan muan released this Apr 22, 2019 · 61 commits to master since this release

Tagging for stable release, no code changes.

Assets 2
You can’t perform that action at this time.