deps: mdx
This commit is contained in:
parent
a89fb2f2bd
commit
2816b4f887
3 changed files with 5 additions and 1 deletions
|
@ -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()],
|
||||||
});
|
});
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue