Skip to content

Commit

Permalink
add more info on example slides
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo-cunha committed Jul 6, 2023
1 parent c8de39b commit 75c76af
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions example.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,31 @@ layout: cover
layout: intro
---

# Usage

See all `:playerProps` at [`asciinema player` docs](https://github.com/asciinema/asciinema-player)

```md
<RenderWhen context="main">
<Asciinema src="/casts/demo.cast" :playerProps="{speed: 2, rows: 15}"/>
</RenderWhen>
```

---

# Demo


<RenderWhen context="main">
<Asciinema src="/casts/demo.cast" :playerProps="{speed: 2, rows: 23}"/>
</RenderWhen>
<Asciinema src="/casts/demo.cast" :playerProps="{speed: 2, rows: 16}"/>
</RenderWhen>

---
layout: cover
---

## Check out the GitHub repo for more information!

<br/>

> [github.com/murilo-cunha/slidev-addon-asciinema](https://github.com/murilo-cunha/slidev-addon-asciinema)

0 comments on commit 75c76af

Please sign in to comment.