Skip to content

Commit

Permalink
Edit draft post about themescura
Browse files Browse the repository at this point in the history
  • Loading branch information
xypnox committed Feb 3, 2024
1 parent 237022c commit 126b1fe
Show file tree
Hide file tree
Showing 8 changed files with 366 additions and 727 deletions.
11 changes: 3 additions & 8 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { defineConfig } from 'astro/config';
import solidJs from "@astrojs/solid-js";
import remarkBreaks from 'remark-breaks';
import rehypeMermaid from 'rehype-mermaid';
import rehypeShiki from '@shikijs/rehype'
import mdx from "@astrojs/mdx";

import shikiTheme from "./src/styles/xydark.json";
Expand All @@ -14,12 +12,9 @@ export default defineConfig({
integrations: [solidJs(), mdx(), sitemap()],
markdown: {
remarkPlugins: [remarkBreaks],
rehypePlugins: [
rehypeMermaid,
[rehypeShiki, {
theme: shikiTheme,
}] ],
syntaxHighlight: false,
shikiConfig: {
theme: shikiTheme,
}
},
build: {
site: 'https://www.xypnox.com',
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@
"iconify-icon": "^1.0.8",
"lodash.debounce": "^4.0.8",
"nanoid": "^5.0.4",
"rehype-mermaid": "^2.1.0",
"remark-breaks": "^4.0.0",
"sharp": "^0.32.6",
"solid-js": "^1.7.7",
"solid-styled-components": "^0.28.5",
"tinycolor2": "^1.6.0"
},
"devDependencies": {
"@shikijs/rehype": "1.0.0-beta.2",
"@types/lodash.debounce": "^4.0.9",
"@types/node": "^20.9.3",
"@types/tinycolor2": "^1.4.6",
Expand Down
Loading

0 comments on commit 126b1fe

Please sign in to comment.