mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
2b76ee8d75
* feat: add astro/config entrypoint * chore: update examples to use `defineConfig` util * chore: prettier fix * chore: add changeset
21 lines
506 B
JavaScript
21 lines
506 B
JavaScript
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
|
|
},
|
|
},
|
|
],
|
|
},
|
|
});
|