Skip to content

Commit

Permalink
create solid components
Browse files Browse the repository at this point in the history
  • Loading branch information
vanessacor committed Jul 8, 2024
1 parent a7a75ab commit bdbc641
Show file tree
Hide file tree
Showing 7 changed files with 366 additions and 15 deletions.
20 changes: 12 additions & 8 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ import sitemap from "@astrojs/sitemap";
import { externalLinks } from "./src/integration/rehype/externalLinks";
import solidJs from "@astrojs/solid-js";

import expressiveCode from "astro-expressive-code";

// https://astro.build/config
export default defineConfig({
integrations: [mdx(), sitemap(), solidJs()],
integrations: [
expressiveCode({
themes: ["one-dark-pro"],
}),
mdx(),
sitemap(),
solidJs(),
],
markdown: {
rehypePlugins: [externalLinks],
shikiConfig: {
theme: "rose-pine-dawn",
langs: ["js", "ts", "html", "bash", "json"],
wrap: true
}
}
});
},
});
235 changes: 228 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@fontsource-variable/montserrat": "^5.0.18",
"@fontsource/ibm-plex-mono": "^5.0.12",
"astro": "^4.5.5",
"astro-expressive-code": "^0.35.3",
"mdast": "^3.0.0",
"mdast-util-to-string": "^4.0.0",
"solid-js": "^1.8.18",
Expand Down
Loading

0 comments on commit bdbc641

Please sign in to comment.