Content-Centered
Footnote support
Your Markdown now support footnotes
Include snippet Support
split your docs with different parts and import them in Markdown
Presentation Support
Insert presentation in Markdown files via Reveal.js
Tabs
Group similar content with tabs and switch them together
Component Support
Easily insert components in Markdown
Stylizing contents
Hint box
Decorate Markdown content with styles
GFM alerts
GFM alert box
Custom Align
Let you decide to align paragraphs in the way you like
Attrs support
Allow you to add attributes for Markdown content
Mark Support
Mark and highlight contents
Spoiler Support
Mark spoiler contents
Stylize tokens
Stylize tokens into things you want
Showing your codes and works
Code Tabs
Group similar codes with tabs
Code Demo Support
You can insert code demo easily
Playground Support
You can add playground in Markdown files
Kotlin playground Support
Reactive kotlin playground
Vue playground Support
Show living vue component in playground
Sandpack playground Support
A live coding environment driven by Sandpack.
Install
pnpm
pnpm add -D vuepress-plugin-md-enhance
yarn
yarn add -D vuepress-plugin-md-enhance
npm
npm i -D vuepress-plugin-md-enhance
Usage
TS
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance";
export default {
plugins: [
mdEnhancePlugin({
// your options
}),
],
};
JS
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance";
export default {
plugins: [
mdEnhancePlugin({
// your options
}),
],
};
Migrating from V1
For details, see Migration Guide.