shortcode
On this page
Shortcode
Embed reusable template fragments in content. This hook processes Content and Summary on both Pages and Sections.
<shortcode youtube id="dQw4w9WgXcQ" />
<shortcode code lang="python"> print("hello") </shortcode>
For syntax, template variables, :::shortcode blocks, and error fallback behavior, see Shortcodes.