This package has been deprecated

Author message:

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

richmd-vue

0.1.3 • Public • Published

richmd-vue

NPM npm NPM

Install

yarn add richmd richmd-vue

Usage

It use Richmd component`.

<template>
  <div>Welcome to my Vue app!</div>
  <Richmd :text="text" :className="hoge" />
</template>
<script>
import Richmd from "richmd-vue"
const md = `# aaa
bbb
ccc

===info
test
===
`;
export default {
  components: {
    Richmd,
  },
  data() {
    return {
      text: md,
      hoge: "hoge"
    };
  },
};
</script>
<style>
@import './node_modules/richmd/richmd.css';
</style>

Props

Name Description
text To parse HTML set Markdown text.
id It set id.
className It set ClassName.

License

MIT

/richmd-vue/

    Package Sidebar

    Install

    npm i richmd-vue

    Weekly Downloads

    2

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    3.31 kB

    Total Files

    7

    Last publish

    Collaborators

    • nappa