docs: add badges to all extensions

This commit is contained in:
Hans Pagel
2021-01-25 10:35:52 +01:00
parent 20f8adc0e4
commit b629b382e1
30 changed files with 89 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
# Link
[![Version](https://img.shields.io/npm/v/@tiptap/extension-link.svg?label=version)](https://www.npmjs.com/package/@tiptap/extension-link)
[![Downloads](https://img.shields.io/npm/dm/@tiptap/extension-link.svg)](https://npmcharts.com/compare/@tiptap/extension-link?minimal=true)
The Link extension adds support for `<a>` tags to the editor. The extension is headless too, there is no actual UI to add, modify or delete links. The usage example below uses the native JavaScript prompt to show you how that could work.
In a real world application, you would probably add a more sophisticated user interface.