docs(markdownify): mention a context limitation (#1968)

This commit is contained in:
Jakub Mikulas 2023-02-09 15:49:26 +01:00 committed by GitHub
parent 596af47f58
commit b5aa8d598e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/