@marcel91200 / caddy Mirror · read-only / commits / 1d0425b2
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 13, 23:00 UTC

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

Francis Lavoie committed Feb 7, 2022 at 00:14 UTC 1d0425b26f1fbb797d7bc10e3740dc031410d01f
1 file changed +5 -1
modules/caddyhttp/templates/templates.go
+5 -1
@@ -126,7 +126,11 @@ func init() {
126 //
127 // ##### `markdown`
128 //
129 -// Renders the given Markdown text as HTML.
129 +// Renders the given Markdown text as HTML. This uses the
130 +// [Goldmark](https://github.com/yuin/goldmark) library,
131 +// which is CommonMark compliant. It also has these plugins
132 +// enabled: Github Flavored Markdown, Footnote and syntax
133 +// highlighting provided by [Chroma](https://github.com/alecthomas/chroma).
134 //
135 // ```
136 // {{markdown "My _markdown_ text"}}