# Fumadocs Core (the core library of Fumadocs): Remark Include
URL: /docs/headless/mdx/remark-include
Source: https://raw.githubusercontent.com/fuma-nama/fumadocs/refs/heads/main/apps/docs/content/docs/headless/mdx/remark-include.mdx

Reuse content from other files.

## Usage [#usage]

Remark Include is a remark plugin. Fumadocs MDX enables it by default on both unified and Sätteri. See [Include](/docs/mdx/include) for the syntax.

Paths are relative to the compiled file. On unified, included Markdown & MDX files are parsed by the current processor unless you pass `getProcessor`. Fumadocs MDX passes it, so each file is parsed by its own format.

| Prop            | Type                                                                 | Description                                                                                    |
| --------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `getProcessor?` | `((format: 'md' \| 'mdx') => Pick<Processor, 'parse'>) \| undefined` | The processor to parse an included Markdown or MDX file with. Default: `the current processor` |