mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 13:43:47 +03:00
templates: Elaborate on what's supported by the markdown function (#4564)
This commit is contained in:
parent
7557d1d922
commit
1d0425b26f
1 changed files with 5 additions and 1 deletions
|
@ -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"}}
|
||||
|
|
Loading…
Reference in a new issue