This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@willsoto/vue-remark
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Vue Remark

pipeline status coverage report

Heavily inspired by React Markdown

Installation

yarn add @willsoto/vue-remark
npm install @willsoto/vue-remark
import VueRemark from "@willsoto/vue-remark";

export default {
  components: {
    VueRemark
  }
};

Example

<template>
  <vue-remark :source="source" />
</template>
import VueRemark from "@willsoto/vue-remark";

export default {
  components: {
    VueRemark
  },
  data() {
    return {
      source: "# Some heading"
    };
  }
};

Options

Name Type Required
source String true
plugins Array false
renderers Object false

Node Types

  • blockquote
  • break
  • code
  • definition (not rendered by default)
  • delete
  • emphasis
  • heading
  • html
  • image
  • imageReference
  • inlineCode
  • link
  • linkReference
  • list
  • listItem
  • paragraph
  • root
  • strong
  • table
  • tableBody
  • tableCell
  • tableHead
  • tableRow
  • text
  • thematicBreak

Readme

Keywords

none

Package Sidebar

Install

npm i @willsoto/vue-remark

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

2.06 MB

Total Files

25

Last publish

Collaborators

  • paradox41