summaryrefslogtreecommitdiff
path: root/src/components/Markdown.astro
diff options
context:
space:
mode:
authorElad Rosenheim <eladroz@users.noreply.github.com>2024-04-23 17:55:24 +0300
committerGitHub <noreply@github.com>2024-04-23 17:55:24 +0300
commit7e40aa188979311e706154dfcf52e47975f99cde (patch)
tree1368cc922524b5b1eb7eef4684fccab0fbc3628d /src/components/Markdown.astro
parent5396de306695226c939384598410761297739fef (diff)
Revalidation & Blobs pages, tweaks (#8)
* added blobs.astro page * updated blobs * updated index.astro and npm dependencies * updated api blobs * Revalidation example WIP * Revalidation by tag example * Update revalidation.astro * Image CDN fixes * Text fixes * updated colors (#9) * updated colors * updated README.md * updated Layout.astro bg color * updated template colors * Inline Inter font * Inline noise.png * Remove remaining "Astro.js" --------- Co-authored-by: TomasBankauskas <tbdizainas@gmail.com>
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'
});
}
})