Merge pull request #944 from fuse314/feature/figure_nozoom

🖼️ figure with nozoom
This commit is contained in:
Nuno Coração
2023-09-12 11:18:19 +01:00
committed by GitHub
2 changed files with 5 additions and 3 deletions

View File

@@ -204,6 +204,7 @@ The `figure` shortcode accepts six parameters:
| `caption` | Markdown for the image caption, which will be displayed below the image. |
| `class` | Additional CSS classes to apply to the image. |
| `href` | URL that the image should be linked to. |
| `nozoom` | `nozoom=true` disables the image "zoom" functionality. This is most useful in combination with a `href` link. |
| `default` | Special parameter to revert to default Hugo `figure` behaviour. Simply provide `default=true` and then use normal [Hugo shortcode syntax](https://gohugo.io/content-management/shortcodes/#figure). |
<!-- prettier-ignore-end -->