From b5aa8d598e5d596734c69cb8477cceb608a5ca8c Mon Sep 17 00:00:00 2001 From: Jakub Mikulas Date: Thu, 9 Feb 2023 15:49:26 +0100 Subject: [PATCH] docs(markdownify): mention a context limitation (#1968) --- content/en/functions/markdownify.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/functions/markdownify.md b/content/en/functions/markdownify.md index b42e045e7..8d8726cff 100644 --- a/content/en/functions/markdownify.md +++ b/content/en/functions/markdownify.md @@ -4,7 +4,7 @@ linktitle: markdownify description: Runs the provided string through the Markdown processor. date: 2017-02-01 publishdate: 2017-02-01 -lastmod: 2017-02-01 +lastmod: 2023-02-09 keywords: [markdown,content] categories: [functions] menu: @@ -23,6 +23,7 @@ aliases: [] {{ .Title | markdownify }} ``` -{{< new-in "0.93.0" >}} **Note**: `markdownify` now supports [Render Hooks] just like [.RenderString](/functions/renderstring/). +{{< new-in "0.93.0" >}} **Note**: `markdownify` now supports [Render Hooks] just like [`.Page.RenderString`]. However, if you use more complicated [Render Hooks] relying on page context, use [`.Page.RenderString`] instead. See [GitHub issue #9692](https://github.com/gohugoio/hugo/issues/9692) for more details. [Render Hooks]: /templates/render-hooks/ +[`.Page.RenderString`]: /functions/renderstring/