[ci] format

This commit is contained in:
bholmesdev 2023-05-24 20:54:43 +00:00 committed by fredkbot
parent 1efaef6be0
commit dc31b8a722
4 changed files with 6 additions and 6 deletions

View file

@ -5,9 +5,9 @@ export {
escapeHTML,
HTMLBytes,
HTMLString,
isHTMLString,
markHTMLString,
unescapeHTML,
isHTMLString,
} from './escape.js';
export { renderJSX } from './jsx.js';
export {

View file

@ -1,9 +1,9 @@
// @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 { unescapeHTML } from 'astro/runtime/server/index.js';
import type * as shikiTypes from 'shiki';
import type { AstroMarkdocConfig } from '../config.js';
import Markdoc from '@markdoc/markdoc';
import { MarkdocError } from '../utils.js';
// Map of old theme names to new names to preserve compatibility when we upgrade shiki

View file

@ -1,7 +1,7 @@
import Markdoc, { type ConfigType, type RenderableTreeNode, type Schema } from '@markdoc/markdoc';
import Markdoc, { type RenderableTreeNode, type Schema } from '@markdoc/markdoc';
import Slugger from 'github-slugger';
import { getTextContent } from './runtime.js';
import type { AstroMarkdocConfig } from './config.js';
import { getTextContent } from './runtime.js';
import { MarkdocError } from './utils.js';
function getSlug(

View file

@ -1,8 +1,8 @@
import type { MarkdownHeading } from '@astrojs/markdown-remark';
import Markdoc, { type RenderableTreeNode } from '@markdoc/markdoc';
import type { ContentEntryModule } from 'astro';
import { setupHeadingConfig } from './heading-ids.js';
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 */