Optional. String. Markdown. Descriptive text that appears centered below the code.
+
float
+
Optional. String. Float to one side of its container. Must be start or end.
lang
Optional. Position 0. String. Chroma language code. Defaults to plaintext. See available codes.
options
@@ -584,6 +590,7 @@ The `paige/image` shortcode provides a figure with a centered image.
{{< paige/image
alt="My alt" >}}
caption="My caption"
+ float="left"
height="10rem"
link="https://github.com/willfaught/paige"
maxheight="10rem"
@@ -602,6 +609,8 @@ Parameters:
Optional. String. Plain text. Image alt.
caption
Optional. String. Markdown. Descriptive text that appears centered below the image.
+
float
+
Optional. String. Float to one side of its container. Must be start or end.
height
Optional. String. Image height.
link
diff --git a/exampleSite/content/blog/code-shortcode.md b/exampleSite/content/blog/code-shortcode.md
index 68d97a56..1ab5b5cb 100644
--- a/exampleSite/content/blog/code-shortcode.md
+++ b/exampleSite/content/blog/code-shortcode.md
@@ -88,6 +88,26 @@ q = 'q = %s%s%s; print(q %% (chr(39), q, chr(39)))'; print(q % (chr(39), q, chr(
Code:
+```go-text-template
+{{* paige/code caption="Python quine" float="end" */>}}
+q = 'q = %r; print(q %% q)'; print(q % q)
+{{* /paige/code */>}}
+
+Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar. Do the right thing here. String this blind girl along so that dad doesn't have to pay his debt to society. Dead Dove DO NOT EAT. Come on, this is a Bluth family celebration. It's no place for children. If you didn't have adult onset diabetes, I wouldn't mind giving you a little sugar.
+```
+
+Result:
+
+{{< paige/code caption="Python quine" float="end" >}}
+q = 'q = %r; print(q %% q)'; print(q % q)
+{{< /paige/code >}}
+
+Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar. Do the right thing here. String this blind girl along so that dad doesn't have to pay his debt to society. Dead Dove DO NOT EAT. Come on, this is a Bluth family celebration. It's no place for children. If you didn't have adult onset diabetes, I wouldn't mind giving you a little sugar.
+
+---
+
+Code:
+
```go-text-template
{{* paige/code caption="Who you gonna call?" */>}}
---
diff --git a/exampleSite/content/blog/figure-shortcode.md b/exampleSite/content/blog/figure-shortcode.md
index f21e0fa4..e0cf0741 100644
--- a/exampleSite/content/blog/figure-shortcode.md
+++ b/exampleSite/content/blog/figure-shortcode.md
@@ -40,6 +40,26 @@ Don't believe everything you read on the Internet.
Code:
+```go-text-template
+{{* paige/figure caption="Abraham Lincoln" float="start" */>}}
+Don't believe everything you read on the Internet.
+{{* /paige/figure */>}}
+
+Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar.
+```
+
+Result:
+
+{{< paige/figure caption="Abraham Lincoln" float="start" >}}
+Don't believe everything you read on the Internet.
+{{< /paige/figure >}}
+
+Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar.
+
+---
+
+Code:
+
```go-text-template
{{* paige/figure caption="Hickory Dickory Dock" */>}}
diff --git a/exampleSite/content/blog/image-shortcode.md b/exampleSite/content/blog/image-shortcode.md
index 4fd8e407..2154bb79 100644
--- a/exampleSite/content/blog/image-shortcode.md
+++ b/exampleSite/content/blog/image-shortcode.md
@@ -27,3 +27,23 @@ Code:
Result:
{{< paige/image src="stretch.webp" caption="Landscape" width="50%" link="https://github.com/willfaught/paige" >}}
+
+---
+
+Code:
+
+```go-text-template
+{{* paige/image src="stretch.webp" caption="Landscape" width="25%" link="https://github.com/willfaught/paige" float="start" */>}}
+
+{{* paige/image src="stretch.webp" caption="Landscape" width="25%" link="https://github.com/willfaught/paige" float="end" */>}}
+
+Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar. Let's see some bananas and nuts! So Ann, the question is, do you want a man or a boy? I know how I would answer. Never once touched my per diem. I'd go to Craft Service, get some raw veggies, bacon, Cup-A-Soup…baby, I got a stew goin'. You might enjoy this. Oh. Em. Gee. That's amazing. I've always been deeply passionate about nature. Perhaps you remember Neuterfest? I'll never forget your wedding. But I did finally get into Dad's pants. Although I had to have the crotch taken in a little bit. She's a girl, I need to teach her how to be a woman. Within her lies a queen. Let me out that queen. There are dozens of us! Dozens! Oh please. They didn't sneak into this country to be your friends. No one's called him Baby Buster since high school. I mean, it's one banana, Michael. What could it cost, ten dollars? "Circumvent." It means "to go around." Gob: The old "reach around." Mom always taught us to curl up in a ball and remain motionless when confronted. You're Killing Me, Buster.
+```
+
+Result:
+
+{{< paige/image src="stretch.webp" caption="Landscape" width="25%" link="https://github.com/willfaught/paige" float="start" >}}
+
+{{< paige/image src="stretch.webp" caption="Landscape" width="25%" link="https://github.com/willfaught/paige" float="end" >}}
+
+Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar. Let's see some bananas and nuts! So Ann, the question is, do you want a man or a boy? I know how I would answer. Never once touched my per diem. I'd go to Craft Service, get some raw veggies, bacon, Cup-A-Soup…baby, I got a stew goin'. You might enjoy this. Oh. Em. Gee. That's amazing. I've always been deeply passionate about nature. Perhaps you remember Neuterfest? I'll never forget your wedding. But I did finally get into Dad's pants. Although I had to have the crotch taken in a little bit. She's a girl, I need to teach her how to be a woman. Within her lies a queen. Let me out that queen. There are dozens of us! Dozens! Oh please. They didn't sneak into this country to be your friends. No one's called him Baby Buster since high school. I mean, it's one banana, Michael. What could it cost, ten dollars? "Circumvent." It means "to go around." Gob: The old "reach around." Mom always taught us to curl up in a ball and remain motionless when confronted. You're Killing Me, Buster.
diff --git a/exampleSite/content/blog/quote-shortcode.md b/exampleSite/content/blog/quote-shortcode.md
index 3976e1c3..3ee0b20b 100644
--- a/exampleSite/content/blog/quote-shortcode.md
+++ b/exampleSite/content/blog/quote-shortcode.md
@@ -88,6 +88,26 @@ Use the Force, Harry.
Code:
+```go-text-template
+{{* paige/quote cite="Abraham Lincoln" float="end" */>}}
+Don't believe everything you read on the Internet.
+{{* /paige/quote */>}}
+
+Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar. Do the right thing here. String this blind girl along so that dad doesn't have to pay his debt to society. Dead Dove DO NOT EAT. Come on, this is a Bluth family celebration. It's no place for children. If you didn't have adult onset diabetes, I wouldn't mind giving you a little sugar. She's not 'that Mexican', Mom. She's my Mexican. And she's Colombian or something. Friday night.
+```
+
+Result:
+
+{{< paige/quote cite="Abraham Lincoln" float="end" >}}
+Don't believe everything you read on the Internet.
+{{< /paige/quote >}}
+
+Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar. Do the right thing here. String this blind girl along so that dad doesn't have to pay his debt to society. Dead Dove DO NOT EAT. Come on, this is a Bluth family celebration. It's no place for children. If you didn't have adult onset diabetes, I wouldn't mind giving you a little sugar. She's not 'that Mexican', Mom. She's my Mexican. And she's Colombian or something. Friday night.
+
+---
+
+Code:
+
```go-text-template
{{* paige/quote caption="Hickory Dickory Dock" align="start" */>}}