diff --git a/packages/integrations/markdoc/src/config.ts b/packages/integrations/markdoc/src/config.ts index 2c2f2c677d437..04a81c6120498 100644 --- a/packages/integrations/markdoc/src/config.ts +++ b/packages/integrations/markdoc/src/config.ts @@ -1,12 +1,12 @@ -import type { AstroInstance } from 'astro'; import type { - ConfigType as MarkdocConfig, Config, + ConfigType as MarkdocConfig, + MaybePromise, NodeType, Schema, - MaybePromise, } from '@markdoc/markdoc'; import _Markdoc from '@markdoc/markdoc'; +import type { AstroInstance } from 'astro'; import { heading } from './heading-ids.js'; type Render = AstroInstance['default'] | string; diff --git a/packages/integrations/markdoc/src/heading-ids.ts b/packages/integrations/markdoc/src/heading-ids.ts index 41773250eb2fe..d0d14f2b12b4f 100644 --- a/packages/integrations/markdoc/src/heading-ids.ts +++ b/packages/integrations/markdoc/src/heading-ids.ts @@ -1,7 +1,7 @@ import Markdoc, { + type Config as MarkdocConfig, type RenderableTreeNode, type Schema, - type Config as MarkdocConfig, } from '@markdoc/markdoc'; import Slugger from 'github-slugger'; import { getTextContent } from './runtime.js';