diff options
author | 2022-04-02 18:53:00 -0300 | |
---|---|---|
committer | 2022-04-02 18:53:00 -0300 | |
commit | a377ac1efc86afd1cb37c69248fa5adae0eb6e37 (patch) | |
tree | 8edb602e029c6d520fd684de6a36d87934842320 /examples/with-markdown-shiki/astro.config.mjs | |
parent | e30aa4dfef2bbe874e2fe7f07232bf8a3c092317 (diff) | |
parent | a05177c50d52f09f32bcb2983e7af73f6507e235 (diff) | |
download | astro-a377ac1efc86afd1cb37c69248fa5adae0eb6e37.tar.gz astro-a377ac1efc86afd1cb37c69248fa5adae0eb6e37.tar.zst astro-a377ac1efc86afd1cb37c69248fa5adae0eb6e37.zip |
Merge branch 'main' into feat/vercel-adapter
Diffstat (limited to 'examples/with-markdown-shiki/astro.config.mjs')
-rw-r--r-- | examples/with-markdown-shiki/astro.config.mjs | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/examples/with-markdown-shiki/astro.config.mjs b/examples/with-markdown-shiki/astro.config.mjs index 7a0b4f0f2..a091e103c 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 + }, }, }); |