summaryrefslogtreecommitdiffstats
path: root/docs/content/en/methods/shortcode/Inner.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-11-18 10:11:18 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-11-18 10:11:18 +0100
commitbbbfeb340ad1f7f721938d4bae5c1f46be7c1c29 (patch)
tree44af4209c5075bcf2748549b634b644f70f784ed /docs/content/en/methods/shortcode/Inner.md
parent6bde8abaad9827f45f5f6c5497ffbe583562ad46 (diff)
parent838bd312b1a287bb33962ad478dbc54737654f35 (diff)
downloadhugo-bbbfeb340ad1f7f721938d4bae5c1f46be7c1c29.tar.gz
hugo-bbbfeb340ad1f7f721938d4bae5c1f46be7c1c29.zip
Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'
Diffstat (limited to 'docs/content/en/methods/shortcode/Inner.md')
-rw-r--r--docs/content/en/methods/shortcode/Inner.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/content/en/methods/shortcode/Inner.md b/docs/content/en/methods/shortcode/Inner.md
index a428720d7..2814bcc2a 100644
--- a/docs/content/en/methods/shortcode/Inner.md
+++ b/docs/content/en/methods/shortcode/Inner.md
@@ -11,6 +11,7 @@ action:
- methods/shortcode/InnerDeindent
returnType: template.HTML
signatures: [SHORTCODE.Inner]
+toc: true
---
This content:
@@ -56,7 +57,7 @@ In the example above, the value returned by `Inner` is Markdown, but it was rend
{{% /note %}}
-## Use the RenderString method
+## Use RenderString
Let's modify the example above to pass the value returned by `Inner` through the [`RenderString`] method on the `Page` object:
@@ -89,7 +90,7 @@ You can use the [`markdownify`] function instead of the `RenderString` method, b
[details]: /methods/page/renderstring/
[`markdownify`]: /functions/transform/markdownify/
-## Use alternate notation
+## Alternative notation
Instead of calling the shortcode with the `{{</* */>}}` notation, use the `{{%/* */%}}` notation: