import type { NodeHandler, State } from "comark"; import { RUNTIME_TAG } from "./index.ts"; import { inlineScript } from "../../../shared/html.ts"; export { default, RUNTIME_TAG } from "./index.ts"; // The build bundles src/inline.ts, the motion layer with Comark's effects, into this text. declare const __COMARK_MOTION_SCRIPT__: string; /** * The text of the inline ``; } /** The HTML renderer of the node that the plugin adds. Pass it as `components`. */ export const components: Record = { [RUNTIME_TAG]: (_node, state) => runtime(state), };