Document unnamed args
This commit is contained in:
10
README.md
10
README.md
@@ -520,7 +520,7 @@ Parameters:
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><code>caption</code></dt>
|
<dt><code>caption</code></dt>
|
||||||
<dd>Optional. Descriptive text that appears centered below the images. Markdown.</dd>
|
<dd>Optional. First unnamed argument. Descriptive text that appears centered below the images. Markdown.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
### Quote
|
### Quote
|
||||||
@@ -541,7 +541,7 @@ Parameters:
|
|||||||
<dt><code>caption</code></dt>
|
<dt><code>caption</code></dt>
|
||||||
<dd>Optional. Descriptive text that appears centered below the images. Markdown. Must not be used with <code>cite</code>.</dd>
|
<dd>Optional. Descriptive text that appears centered below the images. Markdown. Must not be used with <code>cite</code>.</dd>
|
||||||
<dt><code>cite</code></dt>
|
<dt><code>cite</code></dt>
|
||||||
<dd>Optional. Markdown. Must not be used with <code>caption</code>.</dd>
|
<dd>Optional. First unnamed argument. Markdown. Must not be used with <code>caption</code>.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
### Code
|
### Code
|
||||||
@@ -567,7 +567,7 @@ Parameters:
|
|||||||
<dt><code>caption</code></dt>
|
<dt><code>caption</code></dt>
|
||||||
<dd>Optional. Descriptive text that appears centered below the images. Markdown.</dd>
|
<dd>Optional. Descriptive text that appears centered below the images. Markdown.</dd>
|
||||||
<dt><code>lang</code></dt>
|
<dt><code>lang</code></dt>
|
||||||
<dd>Required. <a href="https://gohugo.io/content-management/syntax-highlighting/#list-of-chroma-highlighting-languages">Chroma language code</a>.</dd>
|
<dd>Required. First unnamed argument. Chroma language code. See <a href="https://gohugo.io/content-management/syntax-highlighting/#list-of-chroma-highlighting-languages">available codes</a>.</dd>
|
||||||
<dt><code>options</code></dt>
|
<dt><code>options</code></dt>
|
||||||
<dd>Optional. <a href="https://gohugo.io/content-management/syntax-highlighting/#highlight-shortcode">Hugo highlight options</a>.</dd>
|
<dd>Optional. <a href="https://gohugo.io/content-management/syntax-highlighting/#highlight-shortcode">Hugo highlight options</a>.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -599,7 +599,7 @@ Parameters:
|
|||||||
<dt><code>title</code></dt>
|
<dt><code>title</code></dt>
|
||||||
<dd>Optional. Plain text. Image title.</dd>
|
<dd>Optional. Plain text. Image title.</dd>
|
||||||
<dt><code>src</code></dt>
|
<dt><code>src</code></dt>
|
||||||
<dd>Required. URL. Image URL.</dd>
|
<dd>Required. First unnamed argument. URL. Image URL.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -644,7 +644,7 @@ Parameters:
|
|||||||
<dt><code>image</code></dt>
|
<dt><code>image</code></dt>
|
||||||
<dd>Optional. Page, site, or remote image glob. Only used in the inner content of this shortcode.</dd>
|
<dd>Optional. Page, site, or remote image glob. Only used in the inner content of this shortcode.</dd>
|
||||||
<dt><code>images</code></dt>
|
<dt><code>images</code></dt>
|
||||||
<dd>Optional. Page, site, or remote images glob. Defaults to all image page resources.</dd>
|
<dd>Optional. First unnamed argument. Page, site, or remote images glob. Defaults to all image page resources.</dd>
|
||||||
<dt><code>justify</code></dt>
|
<dt><code>justify</code></dt>
|
||||||
<dd>Optional. Flexbox main axis space distribution. Must be <code>start</code>, <code>center</code>, <code>end</code>, etc. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content"><code>justify-content</code></a>.</dd>
|
<dd>Optional. Flexbox main axis space distribution. Must be <code>start</code>, <code>center</code>, <code>end</code>, etc. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content"><code>justify-content</code></a>.</dd>
|
||||||
<dt><code>method</code></dt>
|
<dt><code>method</code></dt>
|
||||||
|
Reference in New Issue
Block a user