GFM Alert
Less than 1 minute
The plugin can enable GFM alert support for you.
Settings
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance";
export default {
plugins: [
mdEnhancePlugin({
// enable GFM alerts
alert: true,
}),
],
};
Demo
Note
This is note text
Important
This is important text
Tips
This is tip text
Warning
This is warning text
Caution
This is caution text
> [!note]
> This is note text
> [!important]
> This is important text
> [!tip]
> This is tip text
> [!warning]
> This is warning text
> [!caution]
> This is caution text