You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/website/content/docs/configuration.mdx
+69Lines changed: 69 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,10 @@ Streamdown can be configured to suit your needs. This guide will walk you throug
18
18
type: 'boolean',
19
19
default: 'true',
20
20
},
21
+
remend: {
22
+
description: 'Configure which Markdown completions remend should perform',
23
+
type: 'RemendOptions',
24
+
},
21
25
isAnimating: {
22
26
description: 'Indicates if content is currently streaming (disables copy buttons)',
23
27
type: 'boolean',
@@ -151,3 +155,68 @@ The `controls` prop can be configured granularly:
151
155
{markdown}
152
156
</Streamdown>
153
157
```
158
+
159
+
### Remend Options
160
+
161
+
The `remend` prop configures which Markdown completions are performed during streaming. All options default to `true` when not specified. Set an option to `false` to disable that completion:
162
+
163
+
<TypeTable
164
+
type={{
165
+
links: {
166
+
description: 'Complete incomplete links',
167
+
type: 'boolean',
168
+
default: 'true',
169
+
},
170
+
images: {
171
+
description: 'Complete incomplete images',
172
+
type: 'boolean',
173
+
default: 'true',
174
+
},
175
+
bold: {
176
+
description: 'Complete bold formatting (**)',
177
+
type: 'boolean',
178
+
default: 'true',
179
+
},
180
+
italic: {
181
+
description: 'Complete italic formatting (* and _)',
0 commit comments