Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev authored and astrobot-houston committed May 24, 2023
1 parent 1efaef6 commit dc31b8a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/runtime/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export {
escapeHTML,
HTMLBytes,
HTMLString,
isHTMLString,
markHTMLString,
unescapeHTML,
isHTMLString,
} from './escape.js';
export { renderJSX } from './jsx.js';
export {
Expand Down
4 changes: 2 additions & 2 deletions packages/integrations/markdoc/src/extensions/shiki.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/integrations/markdoc/src/heading-ids.ts
Original file line number Diff line number Diff line change
@@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/markdoc/src/runtime.ts
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down

0 comments on commit dc31b8a

Please sign in to comment.