VMarkdownEditor
Vuero ship <VMarkdownEditor />
component that combines an accessible Markdown editor with a live preview using <VMarkdownPreview />
.
Under the hood, this component uses textarea-markdown-editor
exposed api to provide a powerfull Markdown editor for vue 3 with extendable commands support.
Toolbar customization
Toolbar can be customized by passing a toolbar
property. You can group commands to display them in a dropdown menu.
Actions can be one of bold
, italic
, strike-through
, h1
, h2
, h3
, h4
, h5
, h6
, unordered-list
, ordered-list
, code-block
, code-inline
, code
, link
, image
, block-quotes
You also can pass a custom action to the toolbar by passing a function to the action
property.