diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-11-18 10:11:18 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-11-18 10:11:18 +0100 |
commit | bbbfeb340ad1f7f721938d4bae5c1f46be7c1c29 (patch) | |
tree | 44af4209c5075bcf2748549b634b644f70f784ed /docs/content/en/methods/shortcode | |
parent | 6bde8abaad9827f45f5f6c5497ffbe583562ad46 (diff) | |
parent | 838bd312b1a287bb33962ad478dbc54737654f35 (diff) | |
download | hugo-bbbfeb340ad1f7f721938d4bae5c1f46be7c1c29.tar.gz hugo-bbbfeb340ad1f7f721938d4bae5c1f46be7c1c29.zip |
Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'
Diffstat (limited to 'docs/content/en/methods/shortcode')
-rw-r--r-- | docs/content/en/methods/shortcode/Inner.md | 5 |
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: |