diff options
author | 2022-08-01 21:25:50 +0000 | |
---|---|---|
committer | 2022-08-01 21:25:50 +0000 | |
commit | 10a8fa5dcd958605deb41f0f5fe8b2f2ee7229b5 (patch) | |
tree | 32b629acb81c0807b908a139118b572ea367ca7f /packages/integrations/mdx/src/index.ts | |
parent | 40ef43a59b08a1a8fbcd9f4a53745a9636a4fbb9 (diff) | |
download | astro-10a8fa5dcd958605deb41f0f5fe8b2f2ee7229b5.tar.gz astro-10a8fa5dcd958605deb41f0f5fe8b2f2ee7229b5.tar.zst astro-10a8fa5dcd958605deb41f0f5fe8b2f2ee7229b5.zip |
[ci] format
Diffstat (limited to 'packages/integrations/mdx/src/index.ts')
-rw-r--r-- | packages/integrations/mdx/src/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/integrations/mdx/src/index.ts b/packages/integrations/mdx/src/index.ts index f7365b505..139e08515 100644 --- a/packages/integrations/mdx/src/index.ts +++ b/packages/integrations/mdx/src/index.ts @@ -1,5 +1,4 @@ -import { nodeTypes, compile as mdxCompile } from '@mdx-js/mdx'; -import { VFile } from 'vfile'; +import { compile as mdxCompile, nodeTypes } from '@mdx-js/mdx'; import mdxPlugin, { Options as MdxRollupPluginOptions } from '@mdx-js/rollup'; import type { AstroIntegration } from 'astro'; import { parse as parseESM } from 'es-module-lexer'; @@ -10,10 +9,11 @@ import type { RemarkMdxFrontmatterOptions } from 'remark-mdx-frontmatter'; import remarkMdxFrontmatter from 'remark-mdx-frontmatter'; import remarkShikiTwoslash from 'remark-shiki-twoslash'; import remarkSmartypants from 'remark-smartypants'; +import { VFile } from 'vfile'; import type { Plugin as VitePlugin } from 'vite'; +import rehypeCollectHeadings from './rehype-collect-headings.js'; import remarkPrism from './remark-prism.js'; import { getFileInfo, getFrontmatter } from './utils.js'; -import rehypeCollectHeadings from './rehype-collect-headings.js'; type WithExtends<T> = T | { extends: T }; |