Recipes

为 EmDash 美食博客提供食谱字段、组件和计时器。

插件

Recipes

为 EmDash 美食博客提供食谱字段、组件和计时器。

  • 分类: 编辑器体验
  • 状态: 可用
  • 版本: 1.3.0
  • 价格: 未知
  • 来源: npm 软件包
  • 安装方式: npm 原生集成
  • 核实日期: 2026-11-01

为 EmDash 美食博客提供食谱字段、组件和计时器。

安装

从 npm 安装该软件包:

npm install @peristyle/emdash-plugin-recipes

在 Astro 配置中注册该插件:

import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { recipesPlugin } from "@peristyle/emdash-plugin-recipes";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [recipesPlugin()],
      // ...other emdash options
    }),
  ],
});

详细信息