From 594a3aaf51c7c91fc34baa5026c7a2961ca3b88a Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Thu, 25 May 2023 15:37:55 +0000 Subject: [PATCH] [ci] format --- packages/integrations/markdoc/src/extensions/shiki.ts | 4 ++-- packages/integrations/markdoc/src/runtime.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/integrations/markdoc/src/extensions/shiki.ts b/packages/integrations/markdoc/src/extensions/shiki.ts index 491deed56..34f79779f 100644 --- a/packages/integrations/markdoc/src/extensions/shiki.ts +++ b/packages/integrations/markdoc/src/extensions/shiki.ts @@ -2,11 +2,11 @@ // @ts-expect-error Cannot find module 'astro/runtime/server/index.js' or its corresponding type declarations. import { unescapeHTML } from 'astro/runtime/server/index.js'; +import Markdoc from '@markdoc/markdoc'; import type { ShikiConfig } from 'astro'; import type * as shikiTypes from 'shiki'; -import type { AstroMarkdocConfig } from '../config.js'; -import Markdoc from '@markdoc/markdoc'; import { getHighlighter } from 'shiki'; +import type { AstroMarkdocConfig } from '../config.js'; // Map of old theme names to new names to preserve compatibility when we upgrade shiki const compatThemes: Record = { diff --git a/packages/integrations/markdoc/src/runtime.ts b/packages/integrations/markdoc/src/runtime.ts index 939e6d602..5bf7e4412 100644 --- a/packages/integrations/markdoc/src/runtime.ts +++ b/packages/integrations/markdoc/src/runtime.ts @@ -3,7 +3,6 @@ import Markdoc, { type RenderableTreeNode } from '@markdoc/markdoc'; import type { ContentEntryModule } from 'astro'; import type { AstroMarkdocConfig } from './config.js'; import { setupHeadingConfig } from './heading-ids.js'; -import { MarkdocError } from './utils.js'; /** Used to call `Markdoc.transform()` and `Markdoc.Ast` in runtime modules */ export { default as Markdoc } from '@markdoc/markdoc';