rui-plugin-md-enhance
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

vuepress-plugin-md-enhance

Markdown enhancement plugin📄 / Markdown 增强插件📄

Author: Mr.Hope

Version Downloads Size

Markdown enhancement plugin📄 / Markdown 增强插件 📄

Official Docs | 官方文档

Install

# pnpm
pnpm add -D vuepress-plugin-md-enhance@next
# npm
npm i -D vuepress-plugin-md-enhance@next
# yarn
yarn add -D vuepress-plugin-md-enhance@next

Migrating from V1

  • drop flowchart support removed

    We are adding mermaid support, and mermaid support flowchart.

  • remove imageFix option removed

    Links has been fixed in V2

  • new option container new

    Decides whether enable custom container that default theme provides

  • option delay for the delay operating DOM when page loads or navigates new

  • option locale to support i18n config new

  • add SlidePage layout which can be used in themes new

  • Auto load needed CDN for code demo new


安装

# pnpm
pnpm add -D vuepress-plugin-md-enhance@next
# npm
npm i -D vuepress-plugin-md-enhance@next
# yarn
yarn add -D vuepress-plugin-md-enhance@next

从 V1 迁移

  • 移除 FlowChart 支持 移除

    我们已经添加了 Mermaid 支持,而 Mermaid 支持流程图

  • 移除 imageFix 选项 移除

    图片链接已经在 V2 中得到修正

  • 选项 container 新增

    决定是否启用默认主题提供的自定义容器

  • 选项 delay,控制页面加载和切换后进行 DOM 操作的延迟 新增

  • 选项 locale 以支持国际化配置 新增

  • 添加幻灯片布局,可在主题中引入使用 new

  • 自动导入代码演示的所需 CDN new

Package Sidebar

Install

npm i rui-plugin-md-enhance

Homepage

bestrui.top

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

2.62 MB

Total Files

107

Last publish

Collaborators

  • bestrui