This is a vue component of markdown editor based on micromark development, which mainly implements the following features.
npm install vue3-markdownThis is a vue component of markdown editor based on micromark development, which mainly implements the following features.
1. Multi-language support (Currently only support zh and en)
2. Black and white theme preview
3. Support KaTex formula input
4. Custom image upload interface
5. Integrated github markdown and KaTex styles
!demo
``sh`
npm install vue3-markdown
`js
locale="en"
:upload-action="handleUpload"
/>
`
or just for view
`js
:content="content"
>
`
`shpackage.json
npm run buildupdate version in
``adduser for registry.npmjs.org if not add yet
npm adduser --registry=https://registry.npmjs.org
npm publish --registry=https://registry.npmjs.org