## Cheatsheet - for things specific to LI pages turned into md
See also:
- the adjusted [[wiki:syntax]] page
- a good markdown cheatsheet here: [https://www.markdownguide.org/cheat-sheet/](https://www.markdownguide.org/cheat-sheet/)
### Figures
`` \\
`` \\
`
caption
` \\
``
You can also use the notepad icon in the toolbar. Click and choose the first item (note: this uses dokuwiki syntax for the image).
Question: how do you control the output formatting of the figure?
### Videos
Examples: \\
` {{url>https://www.youtube.com/embed/Q3h9I4vcX00 560,315}}` \\
` {{url>https://player.vimeo.com/video/71074210 640,360}}` \\
That is: \\
`{{url>embed-url width,height}}`
This will create an iframe in the resulting html.
### Centering images/videos
Wrap them in a `` element:
`` \\
`` \\
`` \\
`
caption
` \\
``\\
``
You can also use the box item in the toolbar. Click and choose the second item (simple centered box). \\
The box attribute creates a gray background, it can also be left out.