Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanya Bouman <tanyabouman@gmail.com>2022-09-16 17:53:11 +0300
committerGitHub <noreply@github.com>2022-09-16 17:53:11 +0300
commit0b0e890d1f1b70538591dc88f45dce0c2e28bb19 (patch)
treebcb404c73c763602009099447c0b0a6653e11792
parent50f5d4776f647899a3c1d863e84d44ff72972cbe (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.md3
-rw-r--r--content/en/functions/markdownify.md5
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/