render_paper
Convert markdown papers with LaTeX equations to publication-ready HTML using KaTeX for standard math and UpMath API for TikZ diagrams.
Instructions
Render a full markdown paper with $$...$$ LaTeX to a publication-ready HTML file. Uses KaTeX for standard math (fast, client-side) and falls back to UpMath API for TikZ/special packages. Handles headings, bold, italic, lists, tables, and code blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputFile | Yes | Path to the markdown file (e.g., 'Beyond the Bat (Complete).md') | |
| outputFile | Yes | Path for the output HTML file | |
| title | No | Document title for the HTML head | |
| author | No | Author name | |
| useUpmath | No | If true, render ALL math via UpMath API (slow but supports TikZ). If false, use KaTeX CDN (fast, client-side). |