Skip to content
This repository was archived by the owner on Mar 22, 2025. It is now read-only.

richmd/richmd-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages