Skip to content

Commit 9efb023

Browse files
authored
Test frontmatter
Added navigation and aside elements to docs.
1 parent e9b2d82 commit 9efb023

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
<link rel="stylesheet" href="./assets/style.css"/>
2-
3-
<!--
4-
#### [Start](#start)    [Directives](#directives)    [Modifiers](#modifiers)    [Store](#store)    [Signals](#signals)    [Evaluator](#evaluator)    [JSX](#jsx)    [Custom build](#custom-build)    [Hints](#hints)
5-
-->
1+
---
2+
test: abc
3+
---
64

5+
<aside>
6+
<nav :html="`<ul>` + [...document.querySelector('h2')].map(el=>`<li><a href='#${el.id}'>${el.textContent}</a></li>`) + `</ul>`"></nav>
7+
</aside>
78

89
## Start
910

@@ -37,6 +38,10 @@ Manual ESM init:
3738
</script>
3839
```
3940

41+
<details>
42+
<summary>CDN</summary>
43+
<script src="https://unpkg.com/sprae" data-start></script>
44+
</details>
4045

4146
## Directives
4247

0 commit comments

Comments
 (0)