Table of Contents (masonjames)
適用於 EmDash CMS 的標題驅動目錄外掛,體驗出色。
外掛
Table of Contents (masonjames)
適用於 EmDash CMS 的標題驅動目錄外掛,體驗出色。
適用於 EmDash CMS 的標題驅動目錄外掛,體驗出色。
安裝
從 npm 安裝此套件:
npm install emdash-table-of-contents
在 Astro 設定中註冊此外掛:
import { defineConfig } from "astro/config";
import { emdash } from "emdash/astro";
import { tableOfContentsPlugin } from "emdash-table-of-contents";
export default defineConfig({
integrations: [
emdash({
plugins: [tableOfContentsPlugin()],
}),
],
});
詳細資訊
- 最新版本: 0.1.3
- 授權條款: MIT
- 發布者: Mason James
- 需求: EmDash
^0.1.0 - 原始碼儲存庫: https://github.com/masonjames/emdash-table-of-contents
- npm 套件: emdash-table-of-contents