Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 33a29a1

Browse files
committed
feat(client): add fragments description to assistant
1 parent 6a3d56e commit 33a29a1

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

packages/client/src/components/Assistant.js

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import {
88
} from 'react-accessible-accordion';
99
import 'react-accessible-accordion/dist/fancy-example.css';
1010

11+
// TODO: add image's width/height description
12+
1113
const outerCss = {
1214
background: '#f5f5f5',
1315
fontSize: '16px',
@@ -147,6 +149,10 @@ export const Assistant = () => (
147149
title: 'Closing div Tag',
148150
content: <code>block-end</code>,
149151
},
152+
{
153+
title: 'displaying items as steps(fragments)',
154+
content: <code>fragments-start / fragments-end</code>,
155+
},
150156
{
151157
title: 'Adding Title to Sidebar',
152158
content: <code>{`section-title: hey!`}</code>,

samples/intro/slides/04-slide.md

+26
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,32 @@ The class name of `<!-- block-start -->` isn't mandatory.
9797

9898
---
9999

100+
## Fragments
101+
102+
```md
103+
<!-- fragments-start -->
104+
105+
106+
107+
🤟
108+
109+
👍
110+
111+
<!-- fragments-end -->
112+
```
113+
114+
<!-- fragments-start -->
115+
116+
✍️
117+
118+
🤟
119+
120+
👍
121+
122+
<!-- fragments-end -->
123+
124+
---
125+
100126
## Setting Background
101127

102128
<!-- background: '../assets/background.jpeg' -->

samples/intro/slides/07-presenter-mode.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ Timeline and the recording voice are optional but these features will help you t
5757

5858
The timeline can be time travel.
5959

60-
<img src="../../../site/docs/assets/presenter-mode-timeline.png" width="70%" alt="timeline" />
60+
![timeline](../../../site/docs/assets/presenter-mode-timeline.png?w=60%)
6161

6262
---
6363

6464
## Drawing (experimental)
6565

6666
When you write characters on the host side, it will be reflected on the client side in real time.
6767

68-
<img src="../../../site/docs/assets/drawing.png" width="70%" alt="drawing" />
68+
![drawing](../../../site/docs/assets/drawing.png?w=70%)

0 commit comments

Comments
 (0)