diff --git a/content/en/functions/transform/Markdownify.md b/content/en/functions/transform/Markdownify.md index d08fc7507..8fb1e48ce 100644 --- a/content/en/functions/transform/Markdownify.md +++ b/content/en/functions/transform/Markdownify.md @@ -14,15 +14,13 @@ aliases: [/functions/markdownify] --- ```go-html-template -{{ .Title | markdownify }} +

{{ .Title | markdownify }}

``` If the resulting HTML is a single paragraph, Hugo removes the wrapping `p` tags to produce inline HTML as required per the example above. To keep the wrapping `p` tags for a single paragraph, use the [`RenderString`] method on the `Page` object, setting the `display` option to `block`. -If the resulting HTML is two or more paragraphs, Hugo leaves the wrapping `p` tags in place. - [`RenderString`]: /methods/page/renderstring/ {{% note %}}