Add figure shortcode section
This commit is contained in:
10
README.md
10
README.md
@@ -506,6 +506,16 @@ title: Search
|
|||||||
|
|
||||||
## Shortcodes
|
## Shortcodes
|
||||||
|
|
||||||
|
### Figure
|
||||||
|
|
||||||
|
The `paige/figure` shortcode provides a figure with centered content and an optional, centered caption.
|
||||||
|
|
||||||
|
```
|
||||||
|
{{< paige/figure caption="My caption" >}}
|
||||||
|
My content
|
||||||
|
{{< /paige/figure >}}
|
||||||
|
```
|
||||||
|
|
||||||
### Code
|
### Code
|
||||||
|
|
||||||
The `paige/code` shortcode provides a figure with centered, highlighted code and an optional, centered caption.
|
The `paige/code` shortcode provides a figure with centered, highlighted code and an optional, centered caption.
|
||||||
|
Reference in New Issue
Block a user