Skip to content

Commit

Permalink
Restore code spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
john-kurkowski committed May 4, 2024
1 parent ad4882a commit 17f95ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions astro.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const parsePublishTime: RemarkPlugin = function () {
export default defineConfig({
markdown: {
remarkPlugins: [parsePublishTime],
shikiConfig: {
theme: 'slack-ochin',
},
},
site: 'https://johnkurkowski.com',
integrations: [mdx(), sitemap(), tailwind({ applyBaseStyles: false })],
Expand Down
10 changes: 8 additions & 2 deletions src/css/syntax.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@import url('prismjs/themes/prism');

code {
@apply bg-white;
@apply text-sm !important;
}

.astro-code {
@apply my-2;
@apply overflow-auto;
@apply pl-4;
@apply py-4;
}

0 comments on commit 17f95ef

Please sign in to comment.