mirror of
https://github.com/pawroman/zola-theme-terminimal
synced 2024-11-24 21:43:02 +00:00
Mention Markdown support in figure captions
This commit is contained in:
parent
964fffab09
commit
d22b1e5a9e
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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;") }}
|
||||
|
||||
---
|
||||
|
||||
|
|
Loading…
Reference in a new issue