1
0
Fork 0

fix(markdown): Move caption to children

This commit is contained in:
Joost De Cock 2022-01-19 11:31:39 +01:00
parent 76d13e3fa3
commit 7bebd8cf07
96 changed files with 304 additions and 213 deletions

View file

@ -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();

View file

@ -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();