Content Blocks
EmDash 的編輯類 Portable Text 區塊:FAQ、提示框、專家觀點、統計資料、產品評測、優缺點、對比、清單、社交串和相關連結,附帶 Astro 渲染器和 JSON-LD。
外掛
Content Blocks
EmDash 的編輯類 Portable Text 區塊:FAQ、提示框、專家觀點、統計資料、產品評測、優缺點、對比、清單、社交串和相關連結,附帶 Astro 渲染器和 JSON-LD。
EmDash 的編輯類 Portable Text 區塊:FAQ、提示框、專家觀點、統計資料、產品評測、優缺點、對比、清單、社交串和相關連結,附帶 Astro 渲染器和 JSON-LD。
安裝
從 npm 安裝此套件:
npm install @gatilab/emdash-content-blocks
在 Astro 設定中註冊此外掛:
// astro.config.mjs
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { contentBlocks } from "@gatilab/emdash-content-blocks";
export default defineConfig({
integrations: [
emdash({
// database, storage, ...
plugins: [contentBlocks()],
}),
],
});
詳細資訊
- 最新版本: 0.1.1
- 授權條款: GPL-2.0-or-later
- 發布者: Gatilab
- 需求: EmDash
^1.1.0 - 原始碼儲存庫: https://github.com/gatilab/emdash-content-blocks
- npm 套件: @gatilab/emdash-content-blocks