mirror of https://github.com/onweru/compose.git

weru
10.44.2021 1207bebadda55fd894b663732efc4e6670d54ca2
exampleSite/content/docs/compose/shortcodes-example.md
@@ -54,38 +54,3 @@
{{< /column >}}
{{< /block >}}
### Youtube
```sh
{{</* youtube "q0hyYWKXF0Q" */>}}
<!-- generates ðŸ‘‡ -->
```
{{< youtube "q0hyYWKXF0Q" >}}
## Picture
```sh
{{</* picture "compose.svg" "compose-light.svg" "Compose Logo" */>}}
<!-- generates ðŸ‘‡ -->
```
{{< picture "compose.svg" "compose-light.svg" "Compose Logo" >}}
## Gallery
Include inline galleries within your articles. These galleries can contain `N` number of images. It take 2 positional parameters.
The 1st parameter is required. It is _comma-separated list_ (`,`) of your images' paths.
The 2nd parameter is optional. It is _double-collon-separated list_ (`::`) of your images' alt/description/captions text. It's always a good SEO practice to include alt text for your images.
```sh
{{</* gallery "images/painting.jpg,images/scribble.jpg,images/painting.jpg" "Gallery Image 1::gallery image 2::gallery image 1 copy" */>}}
# generates ðŸ‘‡
```
{{< gallery "images/painting.jpg,images/scribble.jpg,images/painting.jpg" "Gallery Image 1::gallery image 2::gallery image 1 copy" >}}
> For legibility, you may include a space after the delimiters `,` & `::`