0.1.3 • Published 2 years ago

richmd-vue v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

NameDescription
textTo parse HTML set Markdown text.
idIt set id.
classNameIt set ClassName.

License

MIT

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago