summaryrefslogtreecommitdiff
path: root/examples/with-markdown-shiki/astro.config.mjs
blob: 7a0b4f0f25c100672aabcccf6131003db4ad2940 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
				},
			},
		],
	},
});