From 2816b4f887d845a68d477031986ceb086270ff25 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Wed, 8 Feb 2023 15:50:52 -0500 Subject: [PATCH] deps: mdx --- examples/with-markdoc/astro.config.mjs | 3 ++- examples/with-markdoc/package.json | 1 + pnpm-lock.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/with-markdoc/astro.config.mjs b/examples/with-markdoc/astro.config.mjs index 29d846359..7bd4faaa4 100644 --- a/examples/with-markdoc/astro.config.mjs +++ b/examples/with-markdoc/astro.config.mjs @@ -1,7 +1,8 @@ import { defineConfig } from 'astro/config'; import markdoc from '@astrojs/markdoc'; +import mdx from '@astrojs/mdx'; // https://astro.build/config export default defineConfig({ - integrations: [markdoc()], + integrations: [markdoc(), mdx()], }); diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index dfcc75048..c5fe03bc6 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,7 @@ }, "dependencies": { "@astrojs/markdoc": "^0.0.1", + "@astrojs/mdx": "^0.16.0", "astro": "^2.0.6" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 260baba36..0a6c20c09 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -314,10 +314,12 @@ importers: examples/with-markdoc: specifiers: '@astrojs/markdoc': ^0.0.1 + '@astrojs/mdx': ^0.16.0 '@markdoc/markdoc': ^0.2.2 astro: ^2.0.6 dependencies: '@astrojs/markdoc': link:../../packages/integrations/markdoc + '@astrojs/mdx': link:../../packages/integrations/mdx astro: link:../../packages/astro devDependencies: '@markdoc/markdoc': 0.2.2