summaryrefslogtreecommitdiff
path: root/examples/with-markdown-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-markdown-plugins')
-rw-r--r--examples/with-markdown-plugins/.npmrc4
-rw-r--r--examples/with-markdown-plugins/astro.config.mjs1
-rw-r--r--examples/with-markdown-plugins/package.json1
3 files changed, 4 insertions, 2 deletions
diff --git a/examples/with-markdown-plugins/.npmrc b/examples/with-markdown-plugins/.npmrc
index 0cc653b2c..ef83021af 100644
--- a/examples/with-markdown-plugins/.npmrc
+++ b/examples/with-markdown-plugins/.npmrc
@@ -1,2 +1,2 @@
-## force pnpm to hoist
-shamefully-hoist = true \ No newline at end of file
+# Expose Astro dependencies for `pnpm` users
+shamefully-hoist=true
diff --git a/examples/with-markdown-plugins/astro.config.mjs b/examples/with-markdown-plugins/astro.config.mjs
index 908b64cb0..c25530d6a 100644
--- a/examples/with-markdown-plugins/astro.config.mjs
+++ b/examples/with-markdown-plugins/astro.config.mjs
@@ -11,6 +11,7 @@ import addClasses from './add-classes.mjs';
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
// Enable Custom Markdown options, plugins, etc.
+ renderers: [],
markdownOptions: {
render: [
astroRemark,
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index ebf90ac6b..a275c3612 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
+ "@astrojs/markdown-remark": "^0.6.1",
"astro": "^0.23.7",
"hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.0",