Markdown Syntax highlighting

Vitesse theme
Draft tag in posts
leg
This commit is contained in:
Michał Gdula 2024-05-25 12:39:20 +01:00
parent fcc026d06d
commit a09d21f28c
11 changed files with 1359 additions and 49 deletions

View file

@ -1,4 +1,14 @@
import { defineConfig } from "astro/config";
import syntaxTheme from "./syntax-theme.json";
// https://astro.build/config
export default defineConfig({});
export default defineConfig({
output: "static",
markdown: {
syntaxHighlight: "shiki",
shikiConfig: {
theme: syntaxTheme,
},
},
})