Quick Start
Installation
Install using a package manager:
bash
npm install agent-markdown-vue --save-devbash
yarn add agent-markdown-vue --save-devbash
pnpm add agent-markdown-vue --save-devBase usage
In basic usage, the component will render all standard markdown syntax by default, including emojis, headings, text styles, lists, links, images, tables, code blocks, formulas, etc.
loading
Importing Styles
You can use github - markdown - css as the basic style, or customize the style according to your needs.
bash
pnpm add github-markdown-cssImporting github-markdown-css
ts
// main.ts
import 'github-markdown-css/github-markdown.css';