From b321df6a8ce4bd115d659500b41b8a41f8868a6c Mon Sep 17 00:00:00 2001 From: Will Faught Date: Mon, 23 Jan 2023 21:37:35 -0800 Subject: [PATCH] Disallow nested use of gallery shortcode params align, justify --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 394699d9..c1c5a885 100644 --- a/README.md +++ b/README.md @@ -575,11 +575,9 @@ The `paige/gallery` shortcode provides a figure with a collection of images. {{< paige/gallery >}} {{< paige/gallery - align="center" caption="My caption" height="10rem" image="me.jpg" - justify="center" maxheight="10rem" maxwidth="10rem" method="resize" @@ -588,11 +586,9 @@ The `paige/gallery` shortcode provides a figure with a collection of images. width="10rem" />}} {{< paige/gallery - align="center" caption="My caption" height="10rem" image="you.jpg" - justify="center" maxheight="10rem" maxwidth="10rem" method="resize" @@ -609,7 +605,7 @@ Parameters:
align
-
Optional. String. Cross axis alignment. Must be start, center, end, etc. See align-items.
+
Optional. String. Cross axis alignment. Must be start, center, end, etc. Must not be used when nested. See align-items.
caption
Optional. String. Markdown. Descriptive text below the image or images.
height
@@ -619,7 +615,7 @@ Parameters:
images
Optional. Position 0. String. Page, site, or remote images glob. Default is all image page resources.
justify
-
Optional. String. Main axis space distribution. Must be start, center, end, etc. See justify-content.
+
Optional. String. Main axis space distribution. Must be start, center, end, etc. Must not be used when nested. See justify-content.
maxheight
Optional. String. CSS value. Maximum image height.
maxwidth