[ci] format
This commit is contained in:
parent
16b8364119
commit
594a3aaf51
2 changed files with 2 additions and 3 deletions
|
@ -2,11 +2,11 @@
|
||||||
// @ts-expect-error Cannot find module 'astro/runtime/server/index.js' or its corresponding type declarations.
|
// @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 { unescapeHTML } from 'astro/runtime/server/index.js';
|
||||||
|
|
||||||
|
import Markdoc from '@markdoc/markdoc';
|
||||||
import type { ShikiConfig } from 'astro';
|
import type { ShikiConfig } from 'astro';
|
||||||
import type * as shikiTypes from 'shiki';
|
import type * as shikiTypes from 'shiki';
|
||||||
import type { AstroMarkdocConfig } from '../config.js';
|
|
||||||
import Markdoc from '@markdoc/markdoc';
|
|
||||||
import { getHighlighter } from 'shiki';
|
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
|
// Map of old theme names to new names to preserve compatibility when we upgrade shiki
|
||||||
const compatThemes: Record<string, string> = {
|
const compatThemes: Record<string, string> = {
|
||||||
|
|
|
@ -3,7 +3,6 @@ import Markdoc, { type RenderableTreeNode } from '@markdoc/markdoc';
|
||||||
import type { ContentEntryModule } from 'astro';
|
import type { ContentEntryModule } from 'astro';
|
||||||
import type { AstroMarkdocConfig } from './config.js';
|
import type { AstroMarkdocConfig } from './config.js';
|
||||||
import { setupHeadingConfig } from './heading-ids.js';
|
import { setupHeadingConfig } from './heading-ids.js';
|
||||||
import { MarkdocError } from './utils.js';
|
|
||||||
|
|
||||||
/** Used to call `Markdoc.transform()` and `Markdoc.Ast` in runtime modules */
|
/** Used to call `Markdoc.transform()` and `Markdoc.Ast` in runtime modules */
|
||||||
export { default as Markdoc } from '@markdoc/markdoc';
|
export { default as Markdoc } from '@markdoc/markdoc';
|
||||||
|
|
Loading…
Reference in a new issue