render_string
x | render_string(display=?, page=?)Renders Markdown with page’s hooks; display="block" keeps the paragraph.
Arguments#
| Argument | Type | Required |
|---|---|---|
display | string | no |
page | page | no |
Details#
- Kind: Filter, implemented by fugo.
- Available in: every kind of template: layouts, partials, shortcodes and render hooks.
- Output: safe HTML, not escaped.
- Site-bound: reads the site or the page being rendered; in a component, pass
page=or declare@__nh.