[ci] format
This commit is contained in:
parent
1efaef6be0
commit
dc31b8a722
4 changed files with 6 additions and 6 deletions
|
@ -5,9 +5,9 @@ export {
|
||||||
escapeHTML,
|
escapeHTML,
|
||||||
HTMLBytes,
|
HTMLBytes,
|
||||||
HTMLString,
|
HTMLString,
|
||||||
|
isHTMLString,
|
||||||
markHTMLString,
|
markHTMLString,
|
||||||
unescapeHTML,
|
unescapeHTML,
|
||||||
isHTMLString,
|
|
||||||
} from './escape.js';
|
} from './escape.js';
|
||||||
export { renderJSX } from './jsx.js';
|
export { renderJSX } from './jsx.js';
|
||||||
export {
|
export {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// @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 Markdoc from '@markdoc/markdoc';
|
||||||
import type { ShikiConfig } from 'astro';
|
import type { ShikiConfig } from 'astro';
|
||||||
|
import { unescapeHTML } from 'astro/runtime/server/index.js';
|
||||||
import type * as shikiTypes from 'shiki';
|
import type * as shikiTypes from 'shiki';
|
||||||
import type { AstroMarkdocConfig } from '../config.js';
|
import type { AstroMarkdocConfig } from '../config.js';
|
||||||
import Markdoc from '@markdoc/markdoc';
|
|
||||||
import { MarkdocError } from '../utils.js';
|
import { MarkdocError } from '../utils.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
|
||||||
|
|
|
@ -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 Slugger from 'github-slugger';
|
||||||
import { getTextContent } from './runtime.js';
|
|
||||||
import type { AstroMarkdocConfig } from './config.js';
|
import type { AstroMarkdocConfig } from './config.js';
|
||||||
|
import { getTextContent } from './runtime.js';
|
||||||
import { MarkdocError } from './utils.js';
|
import { MarkdocError } from './utils.js';
|
||||||
|
|
||||||
function getSlug(
|
function getSlug(
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import type { MarkdownHeading } from '@astrojs/markdown-remark';
|
import type { MarkdownHeading } from '@astrojs/markdown-remark';
|
||||||
import Markdoc, { type RenderableTreeNode } from '@markdoc/markdoc';
|
import Markdoc, { type RenderableTreeNode } from '@markdoc/markdoc';
|
||||||
import type { ContentEntryModule } from 'astro';
|
import type { ContentEntryModule } from 'astro';
|
||||||
import { setupHeadingConfig } from './heading-ids.js';
|
|
||||||
import type { AstroMarkdocConfig } from './config.js';
|
import type { AstroMarkdocConfig } from './config.js';
|
||||||
|
import { setupHeadingConfig } from './heading-ids.js';
|
||||||
import { MarkdocError } from './utils.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 */
|
||||||
|
|
Loading…
Reference in a new issue