Rename figure.html to image.html
This commit is contained in:
@@ -474,7 +474,7 @@ title: Search
|
||||
|
||||
### Images
|
||||
|
||||
The `paige/figure` shortcode provides a figure with a centered image and an optional centered caption.
|
||||
The `paige/image` shortcode provides a figure with a centered image and an optional centered caption.
|
||||
The image and caption can optionally be displayed inline instead of centered.
|
||||
The image has optional alt, title, width, and height attributes,
|
||||
and can optionally be wrapped in an anchor. Only the image source parameter is required.
|
||||
@@ -483,7 +483,7 @@ If the image source is a relative path, it is assumed to be a page resource.
|
||||
These are the named parameters with positions, listed in the order of their positions:
|
||||
|
||||
```
|
||||
{{< paige/figure
|
||||
{{< paige/image
|
||||
src="https://imgs.xkcd.com/comics/sandwich.png"
|
||||
caption="My caption"
|
||||
link="https://xkcd.com/149"
|
||||
@@ -494,7 +494,7 @@ These are the named parameters with positions, listed in the order of their posi
|
||||
These are the rest of the named parameters:
|
||||
|
||||
```
|
||||
{{< paige/figure
|
||||
{{< paige/image
|
||||
height=500
|
||||
inline=false
|
||||
width=500 >}}
|
||||
|
Reference in New Issue
Block a user