Skip to content

Commit dc91db2

Browse files
committed
update produced html in usage
1 parent 15b3ed9 commit dc91db2

File tree

1 file changed

+9
-9
lines changed
  • packages/website/src/content/docs/en

1 file changed

+9
-9
lines changed

packages/website/src/content/docs/en/index.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ yields:
6767
</div>
6868
<div slot="Code">
6969
```html
70-
<div data-callout data-callout-type="note" data-callout-is-foldable="false">
70+
<div data-callout data-callout-type="note" >
7171
<div data-callout-title>title here</div>
7272
<div data-callout-body>
7373
<p>body here</p>
@@ -99,7 +99,7 @@ Callout title can include any inline element.
9999
</div>
100100
<div slot="Code">
101101
```html
102-
<div data-callout data-callout-type="note" data-callout-is-foldable="false">
102+
<div data-callout data-callout-type="note">
103103
<div data-callout-title>
104104
The <strong>reason</strong> for why <em>this</em> <del>is</del>
105105
<code>true</code> when <code class="language-math math-inline">a=1</code>.
@@ -166,7 +166,7 @@ Callout body can include any block element.
166166
</div>
167167
<div slot="Code">
168168
```html
169-
<div data-callout data-callout-type="note" data-callout-is-foldable="false">
169+
<div data-callout data-callout-type="note">
170170
<div data-callout-title>title here</div>
171171
<div data-callout-body>
172172
<p>The <strong>reason</strong> for why <em>this</em> <del>is</del>
@@ -223,15 +223,15 @@ Callouts can also be nested recursively.
223223
</div>
224224
<div slot="Code">
225225
```html
226-
<div data-callout data-callout-type="note" data-callout-is-foldable="false">
226+
<div data-callout data-callout-type="note">
227227
<div data-callout-title></div>
228228
<div data-callout-body>
229229
<p>Nested callout</p>
230-
<div data-callout data-callout-type="important" data-callout-is-foldable="false">
230+
<div data-callout data-callout-type="important">
231231
<div data-callout-title></div>
232232
<div data-callout-body>
233233
<p>Further nested callout</p>
234-
<div data-callout data-callout-type="caution" data-callout-is-foldable="false">
234+
<div data-callout data-callout-type="caution">
235235
<div data-callout-title></div>
236236
<div data-callout-body>
237237
<p>Even further nested callout</p>
@@ -269,12 +269,12 @@ A plus sign expands the callout by default, and a minus sign collapses it instea
269269
</div>
270270
<div slot="Code">
271271
```html
272-
<div data-callout data-callout-type="note" data-callout-is-foldable="true" data-callout-default-folded="true">
273-
<div data-callout-title>title here</div>
272+
<details data-callout data-callout-type="note">
273+
<summary data-callout-title>title here</summary>
274274
<div data-callout-body>
275275
<p>body here</p>
276276
</div>
277-
</div>
277+
</details>
278278
```
279279
</div>
280280
</Tabs>

0 commit comments

Comments
 (0)