convert_md_to_jpeg
Convert Markdown files to JPEG images with configurable dimensions, scale, and quality, preserving Mermaid diagrams for sharing or embedding.
Instructions
Convert a markdown file to JPEG image
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor for mermaid diagrams (default: 2) | |
| width | No | Width of the output image (default: 2400) | |
| height | No | Height of the output image (default: 1600) | |
| quality | No | JPEG quality (1-100, default: 95) | |
| input_file | Yes | Absolute path to the input markdown file | |
| output_file | No | Absolute path for the output JPEG file (optional) |