Mention Markdown support in figure captions

This commit is contained in:
Paweł Romanowski 2023-12-18 21:26:15 +01:00
parent 964fffab09
commit d22b1e5a9e
2 changed files with 6 additions and 6 deletions

View file

@ -86,7 +86,7 @@ Example:
Same as `image`, but with a few extra optional arguments:
- **`caption`**
- **`caption`** (supports markdown)
- **`caption_position`** (center \[default\] | left | right)
- **`caption_style`**
@ -97,8 +97,8 @@ Example:
style="width: 25%;",
position="right",
caption_position="left",
caption="Ferris, the (unofficial) Rust mascot",
caption_style="font-weight: bold; font-style: italic;") }}
caption="**Ferris**, the (unofficial) Rust mascot",
caption_style="font-style: italic;") }}
```
## OpenGraph

View file

@ -77,7 +77,7 @@ figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png",
style="width: 25%;",
position="center",
caption_position="left",
caption="Ferris, the (unofficial) Rust mascot",
caption="**Ferris**, the (unofficial) Rust mascot",
caption_style="font-weight: bold; font-style: italic;")
```
@ -85,8 +85,8 @@ figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png",
style="width: 25%;",
position="center",
caption_position="left",
caption="Ferris, the (unofficial) Rust mascot",
caption_style="font-weight: bold; font-style: italic;") }}
caption="**Ferris**, the (unofficial) Rust mascot",
caption_style="font-style: italic;") }}
---