-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathastro.config.mjs
More file actions
25 lines (23 loc) · 905 Bytes
/
astro.config.mjs
File metadata and controls
25 lines (23 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Full Astro Configuration API Documentation:
// https://docs.astro.build/reference/configuration-reference
// @type-check enabled!
// VSCode and other TypeScript-enabled text editors will provide auto-completion,
// helpful tooltips, and warnings if your exported object is invalid.
// You can disable this by removing "@ts-check" and `@type` comments below.
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
renderers: [
// Enable the Preact renderer to support Preact JSX components.
"@astrojs/renderer-preact",
// Enable the React renderer, for the Algolia search component
"@astrojs/renderer-react",
],
devOptions: {
tailwindConfig: './tailwind.config.js',
},
markdownOptions: {
remarkPlugins:
['remark-emoji', 'remark-gfm', 'remark-slug', '@silvenon/remark-smartypants'],
rehypePlugins: ['rehype-autolink-headings'],
}
});