Get Started
By installing and enabling this plugin, you can use more syntax in your Markdown files.
Note
VuePress itself also adds some Markdown syntaxes. You can view the official documentation.
Tips
Don't worry about the size of your site. The final output will only include codes of features you enabled.
Grammar
This plugin introduce the following new grammar to Markdown.
- Image: Covert to figure, switched with color scheme and setting size
- Superscript and Subscript
- Tasklist
- TeX: Support KaTeX and Mathjax
Image Enhancement
Support setting title, color scheme and size
Superscript and Subscript
19th H2O
Task List
Tex
Content
This plugin provides the following ways to enrich your content.
- Component: quickly insert component in M.
- Footnotes: Supplementary explanation of key content
- Import files: Easily split or reuse files
- Slideshow: Show content
component
Footnote
This text has footnote[1].
Include files
Presentation
Tabs
Apple
Banana
Orange
Stylize
This plugin provides the following features to stylize your content:
- Align: Customize content alignment
- Container: Wrap contents in different types of hint box
- Attrs: Adding attrs to markdown contents
- Mark: Highlight contents
- Stylize: Customizable token stylizer
Align
I am center
I am right align
Container
Tips
This is a tip
Attrs
A word having id.
Mark
You can mark important words.
Stylize
Donate Mr.Hope a cup of coffee. Recommended
Charts
This plugin provides 4 ways to let you insert charts into your markdown file.
Chart.js: A lightweight, easy-to-use, highly customizable chart library.
Chart.js is lighter comparing to Echarts.
Echarts: A powerful, interactive charting and visualization library for browser.
Echarts is more powerful comparing to Chart.js.
Flowchart: A simple markdown extension to generate flowcharts and sequence diagrams.
Lightweight, only focusing on flowcharts.
Mermaid: Generation of diagram and flowchart from text in a similar manner as markdown.
Powerful collection of common charts.
Chart.js
Echarts
Flowchart
Mermaid
Coding
This plugin provides the following features to enhance coding:
- Code Tabs: Add tabs to your code block.
- Code Demo: Display and run code snippets in browser.
- Playground: Embed external playground site.
- Vue Playground: Reactive vue playground.
Code Tabs
pnpm add -D vuepress-plugin-md-enhance
yarn add -D vuepress-plugin-md-enhance
npm i -D vuepress-plugin-md-enhance
Code Demo
<h1>VuePress Theme Hope</h1>
<p>Is <span id="very">very</span> powerful!</p>
document.querySelector("#very").addEventListener("click", () => {
alert("Very powerful!");
});
span {
color: red;
}
Playground
Vue Playground
This is footnote content ↩︎