Parameterized markdown snippets
Reusable Markdown snippets support arbitrary parameters that can be used as variables in the snippet. This enables flexible, reusable content templates.
Create a snippet with parameter placeholders using curly braces:
Pass parameters when including the snippet:
This renders as:
Learn more about reusable Markdown snippets.
New Copy component for inline copyable text
The <Copy> component makes text copyable with a single click. Use it inline to allow readers to quickly copy version numbers, commands, API keys, or other text snippets without selecting and copying manually.
You can also customize what gets copied to the clipboard using the clipboard prop. This is useful when you want simplify commands, versions, or URLs for readability while copying complete values.
Read more in the Copy component documentation.