remove old figure shortcode

This commit is contained in:
panr
2025-03-03 14:26:49 +01:00
parent 19763e94c5
commit 678f079b31
3 changed files with 3 additions and 23 deletions

View File

@ -40,11 +40,6 @@
```go
{{< image src="/img/hello.png" alt="Hello Friend" position="center" style="border-radius: 8px;" >}}
```
- **`figure`** (same as `image`, plus few optional props: **`caption`**, **`captionPosition`** (left | **center** is default | right), **`captionStyle`**)
- e.g.
```go
{{< figure src="/img/hello.png" alt="Hello Friend" position="center" style="border-radius: 8px;" caption="Hello Friend!" captionPosition="right" captionStyle="color: red;" >}}
```
- **`code`** (props required: **`language`**; props optional: **`title`**, **`open`**)
- e.g.
```go