Update markdownify and RenderString documentation (#1818)

These updates are from https://github.com/gohugoio/hugo/issues/9538
This commit is contained in:
Tanya Bouman authored and GitHub committed 2022-09-16 16:53:11 +02:00
1 parent 50f5d4776f
commit 0b0e890d1f
2 files changed
+3 -5

No files matched your search

+1 -2
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.
+2 -3
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/