update playground
This commit is contained in:
parent
3b0ad9299e
commit
5d5ba94f49
|
@ -1,7 +1,8 @@
|
||||||
import { defineConfig } from "astro/config";
|
import { defineConfig } from "astro/config";
|
||||||
import astroGist from "@matthiesenxyz/astro-gists";
|
import astroGist from "@matthiesenxyz/astro-gists";
|
||||||
|
import mdx from "@astrojs/mdx"
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [astroGist()]
|
integrations: [astroGist(),mdx()]
|
||||||
});
|
});
|
|
@ -15,6 +15,7 @@
|
||||||
"astro": "^4.4.11"
|
"astro": "^4.4.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@astrojs/mdx": "^2.1.1",
|
||||||
"@astrojs/check": "^0.5.6",
|
"@astrojs/check": "^0.5.6",
|
||||||
"@types/node": "^20.11.24",
|
"@types/node": "^20.11.24",
|
||||||
"typescript": "^5.3.3"
|
"typescript": "^5.3.3"
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { GetGistGroup } from "@matthiesenxyz/astro-gists/components"
|
||||||
|
|
||||||
import GetGist from "@matthiesenxyz/astro-gists/GetGist"
|
import GetGist from "@matthiesenxyz/astro-gists/GetGist"
|
||||||
---
|
---
|
||||||
<h1>Dev: Playground</h1>
|
<h1>Dev: Playground (Basic Test)</h1>
|
||||||
|
|
||||||
<GetGist
|
<GetGist
|
||||||
gistId="cce7f3f1d9322710be8196aa344186ba"
|
gistId="cce7f3f1d9322710be8196aa344186ba"
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
title: "Dev: Playground (MDX Test)"
|
||||||
|
---
|
||||||
|
import { GetGistGroup } from "@matthiesenxyz/astro-gists/components"
|
||||||
|
|
||||||
|
import GetGist from "@matthiesenxyz/astro-gists/GetGist"
|
||||||
|
|
||||||
|
<h1>{frontmatter.title}</h1>
|
||||||
|
|
||||||
|
<GetGist
|
||||||
|
gistId="cce7f3f1d9322710be8196aa344186ba"
|
||||||
|
filename="hello.md"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<GetGistGroup
|
||||||
|
gistId="84243fa11bf96a59bfb237152eb52fa7"
|
||||||
|
/>
|
452
pnpm-lock.yaml
452
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue