@@ -26,19 +26,16 @@ mdc: true
26
26
27
27
Presentation slides for developers
28
28
29
- <div class =" pt-12 " >
30
- <span @click ="$slidev.nav.next" class="px-2 py-1 rounded cursor-pointer" flex="~ justify-center items-center gap-2" hover="bg-white bg-opacity-10">
31
- Press Space for next page <div class =" i-carbon:arrow-right inline-block " />
32
- </span >
29
+ <div @click =" $slidev.nav.next " class =" mt-12 py-1 " hover:bg =" white op-10 " >
30
+ Press Space for next page <carbon: arrow-right />
33
31
</div >
34
32
35
- <div class =" abs-br m-6 flex gap-2 " >
36
- <button @click ="$slidev.nav.openInEditor() " title="Open in Editor" class="text-xl slidev-icon-btn opacity-50 !border-none !hover : text-white ">
37
- <div class = " i- carbon:edit" />
33
+ <div class =" abs-br m-6 text-xl " >
34
+ <button @click ="$slidev.nav.openInEditor" title="Open in Editor" class="slidev-icon-btn">
35
+ <carbon: edit />
38
36
</button >
39
- <a href="https://github.com/slidevjs/slidev " target="_ blank" alt="GitHub" title="Open in GitHub"
40
- class="text-xl slidev-icon-btn opacity-50 !border-none !hover: text-white ">
41
- <carbon-logo-github />
37
+ <a href =" https://github.com/slidevjs/slidev " target =" _blank " class =" slidev-icon-btn " >
38
+ <carbon:logo-github />
42
39
</a >
43
40
</div >
44
41
@@ -98,12 +95,12 @@ Hover on the bottom-left corner to see the navigation's controls panel, [learn m
98
95
99
96
## Keyboard Shortcuts
100
97
101
- | | |
102
- | --- | --- |
103
- | <kbd >right</kbd > / <kbd >space</kbd >| next animation or slide |
98
+ | | |
99
+ | --------------------------------------------------- | ------------------------ --- |
100
+ | <kbd >right</kbd > / <kbd >space</kbd > | next animation or slide |
104
101
| <kbd >left</kbd > / <kbd >shift</kbd ><kbd >space</kbd > | previous animation or slide |
105
- | <kbd >up</kbd > | previous slide |
106
- | <kbd >down</kbd > | next slide |
102
+ | <kbd >up</kbd > | previous slide |
103
+ | <kbd >down</kbd > | next slide |
107
104
108
105
<!-- https://sli.dev/guide/animations.html#click-animation -->
109
106
<img
@@ -124,14 +121,14 @@ layoutClass: gap-16
124
121
You can use the ` Toc ` component to generate a table of contents for your slides:
125
122
126
123
``` html
127
- <Toc minDepth =" 1" maxDepth =" 1" ></ Toc >
124
+ <Toc minDepth =" 1" maxDepth =" 1" / >
128
125
```
129
126
130
127
The title will be inferred from your slide content, or you can override it with ` title ` and ` level ` in your frontmatter.
131
128
132
129
::right::
133
130
134
- <Toc v-click minDepth =" 1 " maxDepth =" 2 " ></ Toc >
131
+ <Toc text-sm minDepth =" 1 " maxDepth =" 2 " / >
135
132
136
133
---
137
134
layout: image-right
0 commit comments