From 5e2b46a31f659f19b07505baf590ef6cfb2f5423 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 8 Jan 2023 01:03:38 -0800 Subject: [PATCH] Add quote shortcode section --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 5305c1ce..1ed9934e 100644 --- a/README.md +++ b/README.md @@ -516,6 +516,25 @@ My content {{< /paige/figure >}} ``` +### Quote + +The `paige/quote` shortcode provides a figure with centered content and an optional, centered caption. + +``` +{{< paige/quote align="center" caption="My caption" cite="My citation" >}} +My content +{{< /paige/quote >}} +``` + +
+
align
+
Optional. Aligns text horizontally. Must be start, center, or end.
+
caption
+
Optional. Markdown. Must not be used with cite.
+
cite
+
Optional. Markdown. Must not be used with caption.
+
+ ### Code The `paige/code` shortcode provides a figure with centered, highlighted code and an optional, centered caption.