# Changelog of MD2UI - Markdown to Images & Code & Emails (`treplit/md2ui-mcp`) Actor

- **URL**: https://apify.com/treplit/md2ui-mcp/changelog.md
- **Full Actor documentation**: https://apify.com/treplit/md2ui-mcp.md

## Changelog

All notable changes to the MD2UI MCP Actor will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### \[1.3.0] - 2026-01-15

#### Added

- **render\_email** tool - Generate email-compatible HTML for Gmail, Outlook, Apple Mail
  - React Email components for universal email client support
  - Automatic font fallbacks (Inter → Helvetica, Fira Code → Courier)
  - Mermaid diagrams rendered as hosted PNG images
  - Support for `hosted` (URL) or `base64` (embedded) image modes
- **Mermaid render caching** - Duplicate diagrams return cached results instantly
  - Content-based hashing (code + theme colors)
  - LRU cache with 50-entry limit
  - Reduces Puppeteer overhead for repeated renders

#### Changed

- Updated documentation with email rendering examples and parameters

### \[1.2.0] - 2026-01-12

#### Added

- **render\_batch** tool - Render multiple documents in a single request for better efficiency
- **URL response format** - Return URLs instead of base64 for images/PDFs (reduces token usage by ~99%)
- **health** tool - Comprehensive server status including memory usage and feature flags

#### Changed

- Default response format for batch operations is now `url` instead of `base64`
- Improved error messages with sanitized output for security
- Updated documentation to focus on Apify usage

#### Fixed

- Session handling for HTTP stream transport
- Memory management for large batch renders

### \[1.1.0] - 2026-01-11

#### Added

- **MCP Server** - Full Model Context Protocol server with Standby mode support
- **render** tool - Transform Markdown to HTML, PNG, JPEG, WebP, or PDF
- **theme\_list** tool - List all 9 available themes
- **theme\_get** tool - Get full theme configuration by ID
- **theme\_create** tool - Create custom themes with your own colors and fonts
- **generate\_component** tool - AI-powered Markdown/Mermaid generation (requires OpenAI API key)

#### Themes

- Default, Dark, Notion, WhatsApp, Google, Perplexity, Anthropic, Minimal, Corporate

#### Features

- Full GitHub Flavored Markdown (GFM) support
- Mermaid 11.x diagram rendering (flowcharts, sequence, pie, Sankey, timelines, etc.)
- Server-side rendering with Puppeteer for consistent output
- Syntax highlighting for 150+ programming languages
- PDF generation with configurable page size and margins
- High-DPI image output with configurable scale factor

### \[1.0.0] - 2026-01-10

#### Added

- Initial release
- Core Markdown processing engine
- Theme system with 9 preset themes
- Mermaid diagram support
- HTML, PNG, JPEG, WebP, PDF output formats
- Apify Actor integration with Standby mode
