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

他のファイルのコンテンツを再利用します。

## 使い方 [#usage]

Remark Include は remark プラグインです。Fumadocs MDX では、unified と Sätteri のどちらでもデフォルトで有効になっています。構文については[インクルード](/docs/mdx/include)を参照してください。

パスはコンパイル対象のファイルを基準とした相対パスです。unified では、`getProcessor` を渡さない限り、インクルードされた Markdown および MDX ファイルは現在のプロセッサーでパースされます。Fumadocs MDX はこのオプションを渡すため、各ファイルはそれぞれのフォーマットに応じてパースされます。

### $Fumadocs

| 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` |