summaryrefslogtreecommitdiff
path: root/src/components/Markdown.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Markdown.astro')
-rw-r--r--src/components/Markdown.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Markdown.astro b/src/components/Markdown.astro
index d9881a8..e8996c5 100644
--- a/src/components/Markdown.astro
+++ b/src/components/Markdown.astro
@@ -16,7 +16,7 @@ const { content, class: className } = Astro.props;
// with the loaded themes and languages.
const highlighter = await getHighlighter({
langs: ['jsx', 'js'],
- themes: ['poimandres']
+ themes: ['min-dark']
});
const html = await new Marked()
.use(
@@ -24,7 +24,7 @@ const html = await new Marked()
highlight(code, lang, props) {
return highlighter.codeToHtml(code, {
lang,
- theme: 'poimandres'
+ theme: 'min-dark'
});
}
})