wiki:md-syntax-cheatsheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:md-syntax-cheatsheet [2025/11/07 14:10] katjawiki:md-syntax-cheatsheet [2025/11/07 23:34] (current) katja
Line 1: Line 1:
-## Cheatsheet - for things specific to LI files turned into md+## Cheatsheet - for things specific to LI pages turned into md
  
 Good markdown cheatsheet here: [https://www.markdownguide.org/cheat-sheet/](https://www.markdownguide.org/cheat-sheet/) Good markdown cheatsheet here: [https://www.markdownguide.org/cheat-sheet/](https://www.markdownguide.org/cheat-sheet/)
Line 5: Line 5:
 ### Figure ### Figure
  
-`<figure fig_label>` \+`<figure>` \
 `![imagealt](imageurl)` \ `![imagealt](imageurl)` \
 `<caption>caption</caption>` \ `<caption>caption</caption>` \
-`</figure>`+`</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).  
 + 
 +    
 + 
 +### 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 `<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.1762524608.txt.gz
  • Last modified: 2025/11/07 14:10
  • by katja