fix(markdown): Move caption to children
This commit is contained in:
parent
76d13e3fa3
commit
7bebd8cf07
96 changed files with 304 additions and 213 deletions
|
@ -16,10 +16,9 @@ but returns the Snippet object. This allows you to chain different calls togeth
|
|||
If the third parameter is set to `true` it will call [`Attributes.set()`](./attributes#set) instead,
|
||||
thereby overwriting the value of the attribute.
|
||||
|
||||
<Example
|
||||
part="snippet_attr"
|
||||
caption="An example of the Snippet.attr() method"
|
||||
/>
|
||||
<Example part="snippet_attr">
|
||||
An example of the Snippet.attr() method
|
||||
</Example>
|
||||
|
||||
```js
|
||||
let { Point, points, Snippet, snippets } = part.shorthand();
|
||||
|
|
|
@ -8,10 +8,10 @@ Snippet snippet.clone()
|
|||
|
||||
Returns a new Snippets object that is a deep copy of this one.
|
||||
|
||||
<Example
|
||||
part="snippet_clone"
|
||||
caption="An example of the Snippet.clone() method"
|
||||
/>
|
||||
<Example part="snippet_clone">
|
||||
An example of the Snippet.clone() method
|
||||
</Example>
|
||||
|
||||
|
||||
```js
|
||||
let { Point, points, Snippet, snippets } = part.shorthand();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue