MarkdownToPngConverter

Converts Markdown/text files to PNG images.

Declared in src/libs/libuiautomation/converter/MarkdownToPngConverter.hpp
Group uiautomation

Detailed description

MarkdownToPngConverter renders markdown content to PNG images using Qt's QTextDocument for rendering. Designed primarily for converting ASCII art diagrams in documentation to images.

The rendering pipeline: 1. Read markdown file 2. Convert to HTML using libmarkdown (Hoedown) 3. Wrap with CSS styling for monospace rendering 4. Render using QTextDocument to QImage 5. Save as PNG with configured DPI

See also Markdown, WidgetCaptureTool.

In this section