diff --git a/src/content/notes/shiki-themes-for-markdown-syntax-highlighting.md b/src/content/notes/shiki-themes-for-markdown-syntax-highlighting.md index 1d9d73a..c9870eb 100644 --- a/src/content/notes/shiki-themes-for-markdown-syntax-highlighting.md +++ b/src/content/notes/shiki-themes-for-markdown-syntax-highlighting.md @@ -8,7 +8,7 @@ tags: ['note', 'astro', 'markdown'] [Here](https://shiki.style/themes) is a list of themes that work out-of-the-box! -I currently used the `github-dark ` theme for all code blocks on this site. +I currently use the `github-dark` theme for all code blocks on this site. ```typescript // Example.ts diff --git a/src/layouts/Note.astro b/src/layouts/Note.astro index 3b77a34..9cc801c 100644 --- a/src/layouts/Note.astro +++ b/src/layouts/Note.astro @@ -15,6 +15,10 @@ tags.sort() .astro-code { @apply p-6 text-base } + + code { + @apply bg-[#1E262F] text-[#FFA500] px-2 py-1 rounded text-center + }