astro/packages/integrations/markdoc/src/config.ts

11 lines
353 B
TypeScript
Raw Normal View History

import type { ConfigType as MarkdocConfig } from '@markdoc/markdoc';
import _Markdoc from '@markdoc/markdoc';
2023-05-17 13:16:36 +00:00
import { nodes as astroNodes } from './nodes/index.js';
export const Markdoc = _Markdoc;
export const nodes = { ...Markdoc.nodes, ...astroNodes };
export function defineMarkdocConfig(config: MarkdocConfig): MarkdocConfig {
return config;
}