2025-11-01 00:00:41 +10:30
|
|
|
// @ts-check
|
|
|
|
|
import { defineConfig } from "astro/config";
|
|
|
|
|
|
2025-11-01 21:33:17 +10:30
|
|
|
//const setLayout = () => {
|
|
|
|
|
// return function (_, file) {
|
|
|
|
|
// if (file.data.astro.frontmatter.layout === undefined) {
|
|
|
|
|
// file.data.astro.frontmatter.layout = "@layouts/BaseLayout.astro";
|
|
|
|
|
// }
|
|
|
|
|
// };
|
|
|
|
|
//};
|
2025-11-01 00:00:41 +10:30
|
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
markdown: {
|
2025-11-01 21:33:17 +10:30
|
|
|
//remarkPlugins: [setLayout],
|
|
|
|
|
shikiConfig: {
|
|
|
|
|
theme: "catppuccin-latte",
|
|
|
|
|
},
|
2025-11-01 00:00:41 +10:30
|
|
|
},
|
|
|
|
|
});
|