summaryrefslogtreecommitdiff
path: root/examples/with-markdown-shiki/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-markdown-shiki/astro.config.mjs')
-rw-r--r--examples/with-markdown-shiki/astro.config.mjs22
1 files changed, 8 insertions, 14 deletions
diff --git a/examples/with-markdown-shiki/astro.config.mjs b/examples/with-markdown-shiki/astro.config.mjs
index 7a0b4f0f2..0a928c898 100644
--- a/examples/with-markdown-shiki/astro.config.mjs
+++ b/examples/with-markdown-shiki/astro.config.mjs
@@ -1,20 +1,14 @@
import { defineConfig } from 'astro/config';
-import astroRemark from '@astrojs/markdown-remark';
// https://astro.build/config
export default defineConfig({
// Enable Custom Markdown options, plugins, etc.
- markdownOptions: {
- render: [
- astroRemark,
- {
- syntaxHighlight: 'shiki',
- shikiConfig: {
- theme: 'dracula',
- // Learn more about this configuration here:
- // https://docs.astro.build/en/guides/markdown-content/#syntax-highlighting
- },
- },
- ],
- },
+ markdown: {
+ syntaxHighlight: 'shiki',
+ shikiConfig: {
+ theme: 'dracula',
+ // Learn more about this configuration here:
+ // https://docs.astro.build/en/guides/markdown-content/#syntax-highlighting
+ },
+ }
});