initial commit
This commit is contained in:
commit
3c2fb32b3e
73 changed files with 22349 additions and 0 deletions
41
astro.config.mjs
Normal file
41
astro.config.mjs
Normal file
|
@ -0,0 +1,41 @@
|
|||
import { defineConfig } from "astro/config";
|
||||
import solidJs from "@astrojs/solid-js";
|
||||
import { remarkAlert } from "remark-github-blockquote-alert";
|
||||
import sectionize from "@hbsnow/rehype-sectionize";
|
||||
import mdx from "@astrojs/mdx";
|
||||
|
||||
import pagefind from "astro-pagefind";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
integrations: [
|
||||
solidJs({
|
||||
devtools: true,
|
||||
}),
|
||||
mdx(),
|
||||
pagefind(),
|
||||
],
|
||||
markdown: {
|
||||
syntaxHighlight: "shiki",
|
||||
shikiConfig: {
|
||||
theme: "material-theme-ocean",
|
||||
wrap: true,
|
||||
},
|
||||
remarkPlugins: [
|
||||
[
|
||||
remarkAlert,
|
||||
{
|
||||
legacyTitle: true,
|
||||
},
|
||||
],
|
||||
],
|
||||
rehypePlugins: [
|
||||
[
|
||||
sectionize,
|
||||
{
|
||||
idPropertyName: "id",
|
||||
},
|
||||
],
|
||||
],
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue