diff --git a/README.md b/README.md index 7eb313ab..3a00b012 100644 --- a/README.md +++ b/README.md @@ -417,15 +417,15 @@ The `paige/figure` shortcode provides a figure with content. ``` {{< paige/figure - align="center" caption="My caption" float="left" height="10rem" - justify="center" + horizontal="center" maxheight="10rem" maxwidth="10rem" number=0 numbered=false + vertical="center" width="10rem" >}} My content @@ -437,16 +437,14 @@ Inner content: Required. String. Markdown. The content. Parameters:
align
start
, center
, or end
. Default is center
.caption
float
start
or end
.height
justify
start
, center
, or end
. Default is center
.horizontal
start
, center
, or end
. Default is center
.maxheight
maxwidth
numbered
vertical
start
, center
, or end
. Default is center
.width
%v` $content }} {{ partial "paige/figure.html" (dict - "align" $align "caption" $caption "content" $content "float" $float "height" $height - "justify" $justify + "horizontal" $horizontal "maxheight" $maxheight "maxwidth" $maxwidth "number" $number "numbered" $numbered + "vertical" $vertical "width" $width ) }}