enable syntax highlighting
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
263ed46253
commit
b36a272815
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ export default defineConfig({
|
||||||
site: "https://mzhang.io",
|
site: "https://mzhang.io",
|
||||||
integrations: [mdx(), sitemap(), astroImageTools],
|
integrations: [mdx(), sitemap(), astroImageTools],
|
||||||
markdown: {
|
markdown: {
|
||||||
syntaxHighlight: false,
|
syntaxHighlight: "shiki",
|
||||||
|
shikiConfig: { theme: "css-variables" },
|
||||||
remarkPlugins: [
|
remarkPlugins: [
|
||||||
remarkAdmonitions,
|
remarkAdmonitions,
|
||||||
remarkReadingTime,
|
remarkReadingTime,
|
||||||
|
|
Loading…
Reference in a new issue