mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-02-22 13:14:35 +01:00
Mention Markdown support in figure captions
This commit is contained in:
parent
964fffab09
commit
d22b1e5a9e
|
@ -86,7 +86,7 @@ Example:
|
||||||
|
|
||||||
Same as `image`, but with a few extra optional arguments:
|
Same as `image`, but with a few extra optional arguments:
|
||||||
|
|
||||||
- **`caption`**
|
- **`caption`** (supports markdown)
|
||||||
- **`caption_position`** (center \[default\] | left | right)
|
- **`caption_position`** (center \[default\] | left | right)
|
||||||
- **`caption_style`**
|
- **`caption_style`**
|
||||||
|
|
||||||
|
@ -97,8 +97,8 @@ Example:
|
||||||
style="width: 25%;",
|
style="width: 25%;",
|
||||||
position="right",
|
position="right",
|
||||||
caption_position="left",
|
caption_position="left",
|
||||||
caption="Ferris, the (unofficial) Rust mascot",
|
caption="**Ferris**, the (unofficial) Rust mascot",
|
||||||
caption_style="font-weight: bold; font-style: italic;") }}
|
caption_style="font-style: italic;") }}
|
||||||
```
|
```
|
||||||
|
|
||||||
## OpenGraph
|
## OpenGraph
|
||||||
|
|
|
@ -77,7 +77,7 @@ figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png",
|
||||||
style="width: 25%;",
|
style="width: 25%;",
|
||||||
position="center",
|
position="center",
|
||||||
caption_position="left",
|
caption_position="left",
|
||||||
caption="Ferris, the (unofficial) Rust mascot",
|
caption="**Ferris**, the (unofficial) Rust mascot",
|
||||||
caption_style="font-weight: bold; font-style: italic;")
|
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%;",
|
style="width: 25%;",
|
||||||
position="center",
|
position="center",
|
||||||
caption_position="left",
|
caption_position="left",
|
||||||
caption="Ferris, the (unofficial) Rust mascot",
|
caption="**Ferris**, the (unofficial) Rust mascot",
|
||||||
caption_style="font-weight: bold; font-style: italic;") }}
|
caption_style="font-style: italic;") }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue