Change lang param to optional

This commit is contained in:
Will Faught
2023-01-10 21:25:46 -08:00
parent 947e8cb4f8
commit 61726e69f6

View File

@@ -571,7 +571,7 @@ Parameters:
<dt><code>caption</code></dt>
<dd>Optional. String. Markdown. Descriptive text that appears centered below the code.</dd>
<dt><code>lang</code></dt>
<dd>Required. Unnamed argument. String. Chroma language code. See <a href="https://gohugo.io/content-management/syntax-highlighting/#list-of-chroma-highlighting-languages">available codes</a>.</dd>
<dd>Optional. Unnamed argument. String. Chroma language code. Defaults to <code>plaintext</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>
<dd>Optional. String. Hugo highlight options. See <a href="https://gohugo.io/content-management/syntax-highlighting/#highlight-shortcode">options</a>.</dd>
</dl>