Add justify param

This commit is contained in:
Will Faught
2023-01-16 21:56:16 -08:00
parent f694597cfa
commit 7d418a96fe
7 changed files with 25 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ Michael was having brunch with Sally Sitwell at a restaurant called Skip Church'
Code:
```go-text-template
{{</* paige/figure caption="Michael was having brunch with Sally Sitwell" float="end" */>}}
{{</* paige/figure caption="Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro." width="20%" height="15rem" float="end" justify="center" */>}}
Michael was having brunch
{{</* /paige/figure */>}}
@@ -66,7 +66,7 @@ Michael was having brunch with Sally Sitwell at a restaurant called Skip Church'
Result:
{{< paige/figure caption="Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro." width="20%" height="15rem" float="end" >}}
{{< paige/figure caption="Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro." width="20%" height="15rem" float="end" justify="center" >}}
Michael was having brunch with Sally Sitwell
{{< /paige/figure >}}