wip: expose Markdoc from integration

This commit is contained in:
bholmesdev 2023-02-06 16:11:01 -05:00
parent 36f2f01d6d
commit 41275d2521

View file

@ -1,5 +1,6 @@
import type { AstroIntegration } from 'astro'; import type { AstroIntegration } from 'astro';
import type { InlineConfig } from 'vite'; import type { InlineConfig } from 'vite';
import _Markdoc from '@markdoc/markdoc';
export default function markdoc(partialOptions: {} = {}): AstroIntegration { export default function markdoc(partialOptions: {} = {}): AstroIntegration {
return { return {
@ -25,3 +26,5 @@ export default function markdoc(partialOptions: {} = {}): AstroIntegration {
}, },
}; };
} }
export const Markdoc = _Markdoc;