Skip to content

Quick Start

Installation

Install using a package manager:

bash
npm install agent-markdown-vue --save-dev
bash
yarn add agent-markdown-vue --save-dev
bash
pnpm add agent-markdown-vue --save-dev

Base 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-css

Importing github-markdown-css

ts
// main.ts
import 'github-markdown-css/github-markdown.css';