Create document card from markdown
create_markdown_cardTurn markdown into an interactive chat card: tables render as card tables, code blocks gain copy buttons, and sections become expandable reveals. Accepts markdown content or a file path.
Instructions
Render a markdown document as one interactive card: tables become card tables, fenced code gets copy buttons, and H2 sections fold into show/hide reveals. Pass either the markdown content or the path of a markdown file generated earlier in the conversation (for example a walkthrough or guide) to plug it into the chat in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | Part number for large documents (1-based). Long documents split automatically; when the result says more parts remain, call again with the next part. | |
| path | No | Path to a local markdown file to render instead | |
| title | No | Card title; defaults to the document's first H1 | |
| markdown | No | Markdown content to render | |
| subtitle | No | ||
| openFirst | No | Open the first section initially (default true) | |
| tutorTerms | No | Educational tutor terms. Occurrences in the card are underlined; hovering ~1.2s shows the tip and notifies the host so the model can follow up. | |
| splitSections | No | Fold H2 sections into reveals (default true) | |
| contextActions | No | Right-click menu actions the model anticipates being useful. Choosing one sends its prompt to the conversation; use {{selection}} to include the user's selected text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes |