summaryrefslogtreecommitdiff
path: root/examples/with-markdown-shiki
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-markdown-shiki')
-rw-r--r--examples/with-markdown-shiki/.npmrc4
-rw-r--r--examples/with-markdown-shiki/astro.config.mjs1
-rw-r--r--examples/with-markdown-shiki/package.json1
3 files changed, 4 insertions, 2 deletions
diff --git a/examples/with-markdown-shiki/.npmrc b/examples/with-markdown-shiki/.npmrc
index 0cc653b2c..ef83021af 100644
--- a/examples/with-markdown-shiki/.npmrc
+++ b/examples/with-markdown-shiki/.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-shiki/astro.config.mjs b/examples/with-markdown-shiki/astro.config.mjs
index 4598f96b4..59502b3a8 100644
--- a/examples/with-markdown-shiki/astro.config.mjs
+++ b/examples/with-markdown-shiki/astro.config.mjs
@@ -10,6 +10,7 @@ import astroRemark from '@astrojs/markdown-remark';
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
// Enable Custom Markdown options, plugins, etc.
+ renderers: [],
markdownOptions: {
render: [
astroRemark,
diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json
index a4d8d0bf6..9ec931950 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
+ "@astrojs/markdown-remark": "^0.6.1",
"astro": "^0.23.7"
}
}