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