insert_markdown_text
Insert Markdown text into InDesign text frames and apply existing paragraph/character styles automatically. Handles # headers, bold, italic, and more.
Instructions
Insert markdown text into a text frame with automatic formatting using existing paragraph and character styles. Supports # headers, bold, italic, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIndex | No | Page index | |
| frameIndex | No | Text frame index (use list_text_frames or get_selected_objects first) | |
| markdownText | Yes | Markdown text to insert | |
| replaceContent | No | Replace existing content or append | |
| useSelectedFrame | No | Use currently selected text frame instead of frameIndex |