Skip to content

A Vue and Bulma specific package for adding a markdown editor with preview.

Notifications You must be signed in to change notification settings

JNevrly/vue-bulma-markdown-editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Bulma Markdown Editor

A Vue and Bulma specific package for adding a markdown editor with preview.

Installation

Pull it in to your package.json file

npm install vue-bulma-markdown-editor --save

or

yarn add vue-bulma-markdown-editor

Usage

import { MarkdownEditor } from 'vue-bulma-markdown-editor'
Vue.component('markdown-editor', MarkdownEditor)

Props

name type required default description
name String false null The name of the textarea
content String false '' Default content
autosave Boolean false false If it should autosave
autosaveSwitchVisible Boolean false true If the autosave switch should be shown in the bottom part of the editor
autosaveUrl String false null The url endpoint to autosave
autosaveMethod String false patch The rest verb for submitting the request
options Object false { html: true, linkify: true, breaks: true } Options to pass to markdown-it. See more at markdown-it documentation

About

A Vue and Bulma specific package for adding a markdown editor with preview.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 62.2%
  • JavaScript 37.8%