First release.
This commit is contained in:
40
astro.config.mjs
Normal file
40
astro.config.mjs
Normal file
@@ -0,0 +1,40 @@
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
markdown: {
|
||||
syntaxHighlight: 'shiki',
|
||||
shikiConfig: {
|
||||
// Choose from Shiki's built-in themes (or add your own)
|
||||
// https://shiki.style/themes
|
||||
theme: 'github-light',
|
||||
// Alternatively, provide multiple themes
|
||||
// See note below for using dual light/dark themes
|
||||
themes: {
|
||||
light: 'github-light',
|
||||
dark: 'github-dark'
|
||||
},
|
||||
// Add custom languages
|
||||
// Note: Shiki has countless langs built-in, including .astro!
|
||||
// https://shiki.style/languages
|
||||
langs: [],
|
||||
// Enable word wrap to prevent horizontal scrolling
|
||||
wrap: false,
|
||||
// Add custom transformers: https://shiki.style/guide/transformers
|
||||
// Find common transformers: https://shiki.style/packages/transformers
|
||||
transformers: []
|
||||
}
|
||||
},
|
||||
site: 'https://lishouzhong.com',
|
||||
integrations: [sitemap({
|
||||
// entryLimit: 10000,
|
||||
// customPages: [],
|
||||
// filter: (page) => { },
|
||||
// lastmod: new Date('2022-02-24'),
|
||||
// serialize(item) {
|
||||
// return item;
|
||||
// }
|
||||
})]
|
||||
});
|
||||
Reference in New Issue
Block a user