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

重複使用其他檔案的內容。

## 使用方式 [#usage]

Remark 引入是一個 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` |