wiki:md-syntax-cheatsheet

See also:

<figure>
![imagealt](imageurl)
<caption>caption</caption>
</figure>

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?

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.

Wrap them in a <WRAP> element:

<WRAP center round box 60%>
<figure>
![imagealt](imageurl)
<caption>caption</caption>
</figure>
</WRAP>

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.

  • wiki/md-syntax-cheatsheet.1765893612.txt.gz
  • Last modified: 2025/12/16 14:00
  • by asimong