added too big copy button

This commit is contained in:
2024-02-08 22:22:57 +01:00
parent 1f3b8a21f7
commit f8a61b6fdd
4 changed files with 999 additions and 9 deletions

View File

@@ -10,14 +10,23 @@ import rehypePrettyCode from "rehype-pretty-code";
import codeTheme from "./src/styles/moonlight-ii.json";
import mdx from "@astrojs/mdx";
import lighthouse from "astro-lighthouse";
import icon from "astro-icon";
import expressiveCode from "astro-expressive-code";
// https://astro.build/config
export default defineConfig({
integrations: [minify(), metaTags(), mdx(), lighthouse(), icon()],
integrations: [
minify(),
metaTags(),
expressiveCode({ themes: [codeTheme] }),
mdx(),
lighthouse(),
icon(),
],
markdown: {
syntaxHighlight: false, // Disable syntax built-in syntax hightlighting from astro
syntaxHighlight: false,
// Disable syntax built-in syntax hightlighting from astro
rehypePlugins: [
rehypeSlug,
[
@@ -43,8 +52,5 @@ export default defineConfig({
},
],
],
shikiConfig: {
theme: "dracula",
},
},
});