deps: mdx

This commit is contained in:
bholmesdev 2023-02-08 15:50:52 -05:00
parent a89fb2f2bd
commit 2816b4f887
3 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,8 @@
import { defineConfig } from 'astro/config'; import { defineConfig } from 'astro/config';
import markdoc from '@astrojs/markdoc'; import markdoc from '@astrojs/markdoc';
import mdx from '@astrojs/mdx';
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
integrations: [markdoc()], integrations: [markdoc(), mdx()],
}); });

View file

@ -12,6 +12,7 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/markdoc": "^0.0.1", "@astrojs/markdoc": "^0.0.1",
"@astrojs/mdx": "^0.16.0",
"astro": "^2.0.6" "astro": "^2.0.6"
}, },
"devDependencies": { "devDependencies": {

View file

@ -314,10 +314,12 @@ importers:
examples/with-markdoc: examples/with-markdoc:
specifiers: specifiers:
'@astrojs/markdoc': ^0.0.1 '@astrojs/markdoc': ^0.0.1
'@astrojs/mdx': ^0.16.0
'@markdoc/markdoc': ^0.2.2 '@markdoc/markdoc': ^0.2.2
astro: ^2.0.6 astro: ^2.0.6
dependencies: dependencies:
'@astrojs/markdoc': link:../../packages/integrations/markdoc '@astrojs/markdoc': link:../../packages/integrations/markdoc
'@astrojs/mdx': link:../../packages/integrations/mdx
astro: link:../../packages/astro astro: link:../../packages/astro
devDependencies: devDependencies:
'@markdoc/markdoc': 0.2.2 '@markdoc/markdoc': 0.2.2