summaryrefslogtreecommitdiff
path: root/examples/with-markdown-shiki/astro.config.mjs
blob: 3e9c524791e61c2b333e903fddbf34e598df1a3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { defineConfig } from 'astro/config';
import astroRemark from '@astrojs/markdown-remark';

// https://astro.build/config
export default defineConfig({
	// Enable Custom Markdown options, plugins, etc.
	renderers: [],
	markdownOptions: {
		render: [
			astroRemark,
			{
				syntaxHighlight: 'shiki',
				shikiConfig: {
					theme: 'dracula',
					// Learn more about this configuration here:
					// https://docs.astro.build/en/guides/markdown-content/#syntax-highlighting
				},
			},
		],
	},
});