convert_markdown
Convert Markdown strings to formatted HTML, handling headings, bold, italic, code blocks, links, lists, and blockquotes. Get HTML output with original and converted lengths for further processing.
Instructions
Convert a Markdown string to HTML.
Handles headings (h1-h6), bold, italic, bold+italic, strikethrough, inline code, fenced code blocks with language class, links, images, blockquotes, unordered/ordered lists, and horizontal rules.
Args: markdown: Raw Markdown string
Returns: dict with keys: html, original_length, html_length, cost_usd
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes |