This commit is contained in:
parent
8c5c341f44
commit
b29d3dda82
4 changed files with 997 additions and 7 deletions
|
@ -4,6 +4,7 @@ import sitemap from "@astrojs/sitemap";
|
||||||
import { astroImageTools } from "astro-imagetools";
|
import { astroImageTools } from "astro-imagetools";
|
||||||
|
|
||||||
import { remarkReadingTime } from "./plugin/remark-reading-time";
|
import { remarkReadingTime } from "./plugin/remark-reading-time";
|
||||||
|
import remarkMermaid from "astro-diagram/remark-mermaid";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
@ -11,6 +12,6 @@ export default defineConfig({
|
||||||
integrations: [mdx(), sitemap(), astroImageTools],
|
integrations: [mdx(), sitemap(), astroImageTools],
|
||||||
markdown: {
|
markdown: {
|
||||||
syntaxHighlight: false,
|
syntaxHighlight: false,
|
||||||
remarkPlugins: [remarkReadingTime],
|
remarkPlugins: [remarkReadingTime, remarkMermaid],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
988
package-lock.json
generated
988
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -14,6 +14,7 @@
|
||||||
"@astrojs/rss": "^3.0.0",
|
"@astrojs/rss": "^3.0.0",
|
||||||
"@astrojs/sitemap": "^3.0.0",
|
"@astrojs/sitemap": "^3.0.0",
|
||||||
"astro": "^3.0.3",
|
"astro": "^3.0.3",
|
||||||
|
"astro-diagram": "^0.7.0",
|
||||||
"astro-imagetools": "^0.9.0",
|
"astro-imagetools": "^0.9.0",
|
||||||
"fork-awesome": "^1.2.0",
|
"fork-awesome": "^1.2.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
|
|
|
@ -6,18 +6,18 @@ export interface Link {
|
||||||
}
|
}
|
||||||
|
|
||||||
const links: Link[] = [
|
const links: Link[] = [
|
||||||
{
|
|
||||||
name: "Forgejo",
|
|
||||||
url: "https://git.mzhang.io",
|
|
||||||
icon: "gitea",
|
|
||||||
description: "Check out my public open source projects on Forgejo",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Matrix",
|
name: "Matrix",
|
||||||
url: "https://matrix.to/#/@michael:chat.mzhang.io",
|
url: "https://matrix.to/#/@michael:chat.mzhang.io",
|
||||||
icon: "matrix-org",
|
icon: "matrix-org",
|
||||||
description: "Come chat with me on Matrix",
|
description: "Come chat with me on Matrix",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Git",
|
||||||
|
url: "https://git.mzhang.io",
|
||||||
|
icon: "gitea",
|
||||||
|
description: "Check out my public open source projects on Forgejo",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "GitHub",
|
name: "GitHub",
|
||||||
url: "https://github.com/iptq",
|
url: "https://github.com/iptq",
|
||||||
|
|
Loading…
Reference in a new issue