mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-18 08:48:26 -04:00
📝 Update docs
This commit is contained in:
@@ -107,12 +107,18 @@ The `figure` shortcode accepts five parameters:
|
||||
|Parameter|Description|
|
||||
|---|---|
|
||||
|`src`|**Required.** The filename of the image. This image must be a [page resource](https://gohugo.io/content-management/page-resources/) bundled with the page.|
|
||||
|`alt`|The alternate text for the image.|
|
||||
|`caption`|The image caption to be displayed below the image.|
|
||||
|`alt`|[Alternative text description](https://moz.com/learn/seo/alt-text) for the image.|
|
||||
|`caption`|Markdown for the image caption which will be displayed below the image.|
|
||||
|`class`|Additional CSS classes to add to the image.|
|
||||
`href`|The URL that the image should be linked to.|
|
||||
`href`|URL that the image should be linked to.|
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
Congo also supports automatic conversion of images included using standard Markdown syntax. Simply use the following format and the theme will handle the rest:
|
||||
|
||||
```md
|
||||

|
||||
```
|
||||
|
||||
**Example:**
|
||||
|
||||
```md
|
||||
@@ -121,6 +127,10 @@ The `figure` shortcode accepts five parameters:
|
||||
alt="Abstract purple artwork"
|
||||
caption="Photo by [Jr Korpa](https://unsplash.com/@jrkorpa) on [Unsplash](https://unsplash.com/)"
|
||||
*/>}}
|
||||
|
||||
<!-- OR -->
|
||||
|
||||
 on [Unsplash](https://unsplash.com/)")
|
||||
```
|
||||
|
||||
{{< figure src="abstract.jpg" alt="Abstract purple artwork" caption="Photo by [Jr Korpa](https://unsplash.com/@jrkorpa) on [Unsplash](https://unsplash.com/)" >}}
|
||||
|
||||
Reference in New Issue
Block a user