Skip to content

Commit

Permalink
update MarkmapaView preview
Browse files Browse the repository at this point in the history
  • Loading branch information
zzq0826 committed Aug 6, 2023
1 parent 1754d54 commit 1b6b7e8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/MarkmapView/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,14 @@ const data = (await fs.readFile(path.join(process.cwd(), "public", src), "utf-8"
const cleanSrc = src.replace(/^\/+/, "")
---

<MarkmapaView client:idle value={data}># markmap - beautiful1 - useful - easy - interactive</MarkmapaView>
<MarkmapaView client:idle value={data}>
{
`
# markmap
- beautiful1
- useful
- easy
- interactive
`
}
</MarkmapaView>

0 comments on commit 1b6b7e8

Please sign in to comment.