|
1 |
| -export default { |
2 |
| - // projectRoot: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project. |
3 |
| - // pages: './src/pages', // Path to Astro components, pages, and data |
4 |
| - // dist: './dist', // When running `astro build`, path to final static output |
5 |
| - // public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing. |
6 |
| - buildOptions: { |
7 |
| - site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs. |
8 |
| - // sitemap: true, // Generate sitemap (set to "false" to disable) |
9 |
| - }, |
| 1 | +// Full Astro Configuration API Documentation: |
| 2 | +// https://docs.astro.build/reference/configuration-reference |
| 3 | + |
| 4 | +// @type-check enabled! |
| 5 | +// VSCode and other TypeScript-enabled text editors will provide auto-completion, |
| 6 | +// helpful tooltips, and warnings if your exported object is invalid. |
| 7 | +// You can disable this by removing "@ts-check" and `@type` comments below. |
| 8 | + |
| 9 | +// @ts-check |
| 10 | +export default /** @type {import('astro').AstroUserConfig} */ ({ |
| 11 | + // Enable Custom Markdown options, plugins, etc. |
10 | 12 | markdownOptions: {
|
11 | 13 | remarkPlugins: ['remark-code-titles', 'remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
|
12 | 14 | rehypePlugins: [
|
13 | 15 | ['rehype-toc', { headings: ['h2', 'h3'] }],
|
14 | 16 | ['rehype-add-classes', { 'h1,h2,h3': 'title' }],
|
15 | 17 | ],
|
16 | 18 | },
|
17 |
| - devOptions: { |
18 |
| - // port: 3000, // The port to run the dev server on. |
19 |
| - // tailwindConfig: '', // Path to tailwind.config.js if used, e.g. './tailwind.config.js' |
20 |
| - }, |
21 |
| -}; |
| 19 | +}); |
0 commit comments