开源软件名称(OpenSource Name):github/markdown-toolbar-element开源软件地址(OpenSource Url):https://github.com/github/markdown-toolbar-element开源编程语言(OpenSource Language):JavaScript 58.2%开源软件介绍(OpenSource Introduction):<markdown-toolbar> elementMarkdown formatting buttons for text inputs. Installation
Usageimport '@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-image>image</md-image>
<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>
<button data-md-button>Custom button</button>
</markdown-toolbar>
<textarea id="textarea_id"></textarea>
Browser supportBrowsers without native custom element support require a polyfill.
Development
LicenseDistributed under the MIT license. See LICENSE for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论