Update markdownify and RenderString documentation (#1818)

These updates are from https://github.com/gohugoio/hugo/issues/9538
This commit is contained in:
Tanya Bouman 2022-09-16 10:53:11 -04:00 committed by GitHub
parent 50f5d4776f
commit 0b0e890d1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -32,5 +32,4 @@ Some examples:
{{ "/italic org mode/" | $p.RenderString $optOrg }} {{ "/italic org mode/" | $p.RenderString $optOrg }}
``` ```
{{< new-in "0.93.0" >}} **Note**: [markdownify](/functions/markdownify/) uses this function in order to support [Render Hooks](/getting-started/configuration-markup/#markdown-render-hooks).
**Note** that this method is more powerful than the similar [markdownify](/functions/markdownify/) function as it also supports [Render Hooks](/getting-started/configuration-markup/#markdown-render-hooks) and it has options to render other markup formats.

View File

@ -23,7 +23,6 @@ aliases: []
{{ .Title | markdownify }} {{ .Title | markdownify }}
``` ```
*Note*: if you need [Render Hooks][], which `markdownify` doesn't currently {{< new-in "0.93.0" >}} **Note**: `markdownify` now supports [Render Hooks][] just like [.RenderString](/functions/renderstring/).
support, use [.RenderString](/functions/renderstring/) instead.
[Render Hooks]: /getting-started/configuration-markup/#markdown-render-hooks [Render Hooks]: /templates/render-hooks/