markdown_to_script
Extract language-tagged code from Markdown files, optionally converting prose to comments or including all fenced blocks.
Instructions
Extract code from a markdown file. Only fenced blocks tagged with language are kept
unless extract_all_blocks is true. Prose becomes comments when include_prose is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| language | Yes | ||
| output_path | No | ||
| include_prose | No | ||
| extract_all_blocks | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |