diff options
author | Tanya Bouman <tanyabouman@gmail.com> | 2022-09-16 17:53:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 17:53:11 +0300 |
commit | 0b0e890d1f1b70538591dc88f45dce0c2e28bb19 (patch) | |
tree | bcb404c73c763602009099447c0b0a6653e11792 | |
parent | 50f5d4776f647899a3c1d863e84d44ff72972cbe (diff) |
Update markdownify and RenderString documentation (#1818)
These updates are from https://github.com/gohugoio/hugo/issues/9538
-rw-r--r-- | content/en/functions/RenderString.md | 3 | ||||
-rw-r--r-- | content/en/functions/markdownify.md | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/content/en/functions/RenderString.md b/content/en/functions/RenderString.md index e414b11ca..014e32599 100644 --- a/content/en/functions/RenderString.md +++ b/content/en/functions/RenderString.md @@ -32,5 +32,4 @@ Some examples: {{ "/italic org mode/" | $p.RenderString $optOrg }} ``` - -**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. +{{< 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). diff --git a/content/en/functions/markdownify.md b/content/en/functions/markdownify.md index 171c3bf10..b108ccb94 100644 --- a/content/en/functions/markdownify.md +++ b/content/en/functions/markdownify.md @@ -23,7 +23,6 @@ aliases: [] {{ .Title | markdownify }} ``` -*Note*: if you need [Render Hooks][], which `markdownify` doesn't currently -support, use [.RenderString](/functions/renderstring/) instead. +{{< new-in "0.93.0" >}} **Note**: `markdownify` now supports [Render Hooks][] just like [.RenderString](/functions/renderstring/). -[Render Hooks]: /getting-started/configuration-markup/#markdown-render-hooks +[Render Hooks]: /templates/render-hooks/ |