// See all of our [[doc:start|internal documentation]]//
===== Cheatsheet - for things specific to LI pages turned into Markdown =====
See also:
- the general [[wiki:syntax]] page, adjusted for our setup
- [a good generic markdown cheatsheet](https://www.markdownguide.org/cheat-sheet/), however, not covering the exact features we have in our setup
==== 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 centred box). \\
The box attribute creates a grey background, it can also be left out.