summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/src/plugins.ts
diff options
context:
space:
mode:
authorGravatar bholmesdev <bholmesdev@users.noreply.github.com> 2023-01-03 21:33:40 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-01-03 21:33:40 +0000
commit163a9a9d0ef8b08a71033e719ba06ff63cd2df60 (patch)
tree44040c0ec07d72c34786e2daf5dc26b56b6bc074 /packages/integrations/mdx/src/plugins.ts
parente2019be6ffa46fa33d92cfd346f9ecbe51bb7144 (diff)
downloadastro-163a9a9d0ef8b08a71033e719ba06ff63cd2df60.tar.gz
astro-163a9a9d0ef8b08a71033e719ba06ff63cd2df60.tar.zst
astro-163a9a9d0ef8b08a71033e719ba06ff63cd2df60.zip
[ci] format
Diffstat (limited to 'packages/integrations/mdx/src/plugins.ts')
-rw-r--r--packages/integrations/mdx/src/plugins.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/integrations/mdx/src/plugins.ts b/packages/integrations/mdx/src/plugins.ts
index 4701b1679..675a8a645 100644
--- a/packages/integrations/mdx/src/plugins.ts
+++ b/packages/integrations/mdx/src/plugins.ts
@@ -1,12 +1,12 @@
import { rehypeHeadingIds } from '@astrojs/markdown-remark';
+import {
+ InvalidAstroDataError,
+ safelyGetAstroData,
+} from '@astrojs/markdown-remark/dist/internal.js';
import { nodeTypes } from '@mdx-js/mdx';
import type { PluggableList } from '@mdx-js/mdx/lib/core.js';
import type { Options as MdxRollupPluginOptions } from '@mdx-js/rollup';
import type { AstroConfig } from 'astro';
-import {
- safelyGetAstroData,
- InvalidAstroDataError,
-} from '@astrojs/markdown-remark/dist/internal.js';
import type { Literal, MemberExpression } from 'estree';
import { visit as estreeVisit } from 'estree-util-visit';
import { bold, yellow } from 'kleur/colors';
@@ -16,7 +16,7 @@ import rehypeRaw from 'rehype-raw';
import remarkGfm from 'remark-gfm';
import remarkSmartypants from 'remark-smartypants';
import { visit } from 'unist-util-visit';
-import type { Data, VFile } from 'vfile';
+import type { VFile } from 'vfile';
import { MdxOptions } from './index.js';
import { rehypeInjectHeadingsExport } from './rehype-collect-headings.js';
import rehypeMetaString from './rehype-meta-string.js';