recipe/packages/md-enhance
2024-08-18 19:16:25 +08:00
..
__tests__/unit first load 2024-08-18 19:16:25 +08:00
src first load 2024-08-18 19:16:25 +08:00
LICENSE first load 2024-08-18 19:16:25 +08:00
package.json first load 2024-08-18 19:16:25 +08:00
README.md first load 2024-08-18 19:16:25 +08:00
rollup.config.ts first load 2024-08-18 19:16:25 +08:00
tsconfig.build.json first load 2024-08-18 19:16:25 +08:00
tsconfig.json first load 2024-08-18 19:16:25 +08:00

vuepress-plugin-md-enhance

Markdown enhancement plugin📄 / Markdown 增强外掛程式📄

Author: Mr.Hope

Version Downloads

Markdown enhancement plugin📄 / Markdown 增强外掛程式 📄

Official Docs | 官方文檔

Install

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

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 hint 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
# npm
npm i -D vuepress-plugin-md-enhance
# yarn
yarn add -D vuepress-plugin-md-enhance

從 V1 遷移

  • 移除 FlowChart 支持 移除

    我們已經增加了 Mermaid 支持,而 Mermaid 支持流程圖

  • 移除 imageFix 選項 移除

    圖片連結已經在 V2 中得到修正

  • 選項 hint 新增

    决定是否啟用內設主題提供的自定義容器

  • 選項 delay,控制頁面加載和切換後進行 DOM 操作的延遲 新增

  • 選項 locale 以支持國際化配置 新增

  • 增加投影片布局,可在主題中引入使用 new

  • 自動導入程式碼範例的所需 CDN new