comark-include
Getting started
Install comark-include and register it.
Usage
Register the plugin. It has no components, because the included text renders as the rest of the page does:
import { parseMarkdown } from "comark";
import include from "comark-include";
const document = await parseMarkdown(markdown, {
plugins: [include({ root: "content", base: "guide" })],
});