From 05859e55cb1bd31a8f03c144e62c9c863454e25a Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 6 Jan 2023 15:01:16 -0800 Subject: [PATCH] Add figure-shortcode.md --- exampleSite/content/blog/figure-shortcode.md | 67 ++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 exampleSite/content/blog/figure-shortcode.md diff --git a/exampleSite/content/blog/figure-shortcode.md b/exampleSite/content/blog/figure-shortcode.md new file mode 100644 index 00000000..51091cf8 --- /dev/null +++ b/exampleSite/content/blog/figure-shortcode.md @@ -0,0 +1,67 @@ +--- +categories: [paige] +date: "2023-01-06" +description: Demonstration of the figure shortcode. +tags: [figures, shortcodes] +title: Figure Shortcode +--- + +Code: + +```go-text-template +{{}} +Don't believe everything you read on the Internet. +{{}} +``` + +Result: + +{{< paige/figure >}} +Don't believe everything you read on the Internet. +{{< /paige/figure >}} + +--- + +Code: + +```go-text-template +{{}} +Don't believe everything you read on the Internet. +{{}} +``` + +Result: + +{{< paige/figure caption="Abraham Lincoln" >}} +Don't believe everything you read on the Internet. +{{< /paige/figure >}} + +--- + +Code: + +```go-text-template +{{}} +
+Hickory dickory dock.
+The mouse ran up the clock.
+The clock struck one,
+The mouse ran down,
+Hickory dickory dock.
+
+{{}} +``` + +Result: + +{{< paige/figure caption="Hickory Dickory Dock" >}} +
+Hickory dickory dock.
+The mouse ran up the clock.
+The clock struck one,
+The mouse ran down,
+Hickory dickory dock.
+
+{{< /paige/figure >}} + +