Socialcard
為 EmDash 文章生成分享圖片:釋出時渲染 PNG 卡片,並將其設為文章的 SEO 圖片。
外掛
Socialcard
為 EmDash 文章生成分享圖片:釋出時渲染 PNG 卡片,並將其設為文章的 SEO 圖片。
為 EmDash 文章生成分享圖片:釋出時渲染 PNG 卡片,並將其設為文章的 SEO 圖片。
安裝
從 npm 安裝此套件:
npm install @plugdash/socialcard
在 Astro 設定中註冊此外掛:
// astro.config.mjs
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { socialcardPlugin } from "@plugdash/socialcard";
export default defineConfig({
integrations: [
emdash({
plugins: [socialcardPlugin()],
}),
],
});
詳細資訊
- 最新版本: 0.2.0
- 授權條款: MIT
- 發布者: abhinav061
- 需求: EmDash
>=1.0.0 - 原始碼儲存庫: https://github.com/plugdash/plugdash
- npm 套件: @plugdash/socialcard