You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
558 B
Markdown
30 lines
558 B
Markdown
---
|
|
categories: [paige]
|
|
date: "2023-01-03"
|
|
description: Demonstration of the Paige image shortcode.
|
|
tags: [figures, shortcodes]
|
|
title: Image Shortcode
|
|
---
|
|
|
|
Code:
|
|
|
|
```go-text-template
|
|
{{</* paige/image src="stretch.webp" */>}}
|
|
```
|
|
|
|
Result:
|
|
|
|
{{< paige/image src="stretch.webp" >}}
|
|
|
|
---
|
|
|
|
Code:
|
|
|
|
```go-text-template
|
|
{{</* paige/image src="stretch.webp" caption="Landscape" width="50%" link="https://github.com/willfaught/paige" */>}}
|
|
```
|
|
|
|
Result:
|
|
|
|
{{< paige/image src="stretch.webp" caption="Landscape" width="50%" link="https://github.com/willfaught/paige" >}}
|