# Content Blocks

> Editorial Portable Text blocks for EmDash: FAQ, callout, expert opinion, stats, product review, pros and cons, comparison, checklist, social thread and related links, with Astro renderers and JSON-LD.

Source: https://emdashcmseverything.com/plugins/content-blocks/

- Category: Editor Experience
- Status: available
- Version: 0.1.1
- Price: Unknown
- Compatibility: EmDash ^1.1.0
- License: GPL-2.0-or-later
- Maintainer: Gatilab
- Download: https://www.npmjs.com/package/@gatilab/emdash-content-blocks
- Repository: https://github.com/gatilab/emdash-content-blocks
- Published: 2026-11-01

Editorial Portable Text blocks for EmDash: FAQ, callout, expert opinion, stats, product review, pros and cons, comparison, checklist, social thread and related links, with Astro renderers and JSON-LD.

## Installation

Install the package from npm:

```bash
npm install @gatilab/emdash-content-blocks
```

Register the plugin in your Astro config:

```js
// 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()],
    }),
  ],
});
```

## Details

- **Latest version:** 0.1.1
- **License:** GPL-2.0-or-later
- **Publisher:** Gatilab
- **Requires:** EmDash `^1.1.0`
- **Source repository:** [https://github.com/gatilab/emdash-content-blocks](https://github.com/gatilab/emdash-content-blocks)
- **npm package:** [@gatilab/emdash-content-blocks](https://www.npmjs.com/package/@gatilab/emdash-content-blocks)
