From 0b0e890d1f1b70538591dc88f45dce0c2e28bb19 Mon Sep 17 00:00:00 2001 From: Tanya Bouman Date: Fri, 16 Sep 2022 10:53:11 -0400 Subject: [PATCH] Update markdownify and RenderString documentation (#1818) These updates are from https://github.com/gohugoio/hugo/issues/9538 --- content/en/functions/RenderString.md | 3 +-- 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/