templates: Elaborate on what's supported by the markdown function (#4564)

This commit is contained in:
Francis Lavoie 2022-02-07 00:14:41 -05:00 committed by GitHub
parent 7557d1d922
commit 1d0425b26f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,11 @@ func init() {
//
// ##### `markdown`
//
// Renders the given Markdown text as HTML.
// Renders the given Markdown text as HTML. This uses the
// [Goldmark](https://github.com/yuin/goldmark) library,
// which is CommonMark compliant. It also has these plugins
// enabled: Github Flavored Markdown, Footnote and syntax
// highlighting provided by [Chroma](https://github.com/alecthomas/chroma).
//
// ```
// {{markdown "My _markdown_ text"}}