MarkdownEditorQt is a Qt6-based application for editing and previewing Markdown documents.
- Built on the md4c and md4c-html libraries for fast and accurate HTML generation
- Supports embedded images in PNG, JPEG, WebP, and SVG formats
- Fully aligned with the CommonMark standard, with highlighting emulated via HTML tags
- Includes a live preview feature (see screenshot below)
Special thanks to Martin Mitáš (mity) and all contributors to the md4c library.
2025-11-29:
- Fixed text alignment in viewer (no more occasional line breaks)
- Performed a quick code review
2025-11-30:
- Fixed Qt save dialog not appending the .md extension
- Enabled strikethrough and tables in md4c
- Hacked md4c-html.c: Replaced <del> tags with <s> tags, so that QTextBrowser finally understands
strikethrough.
2025-12-02:
- Fixed dirty flag
2025-12-13:
- Fixed macOS issues
2026-04-05:
- Fixed YesNoCancel dialog
2026-04-07:
- Added MD_FLAG_HARD_SOFT_BREAK to md4c flags
- Made highlighting more tolerant
2026-04-09:
- Added splitter handle stylesheet to reduce the handle width (macOS)
- Complete redesign of logic to keep editor and viewer in sync
2026-04-10:
- Added toolbar button to toggle scroll synchronization
2026-05-21:
- Fixed scroll sync setting on app's first start
2026-05-22:
- Refactor: Qt-RAII (parent-child relationship, using stack objects)
2026-11-02:
- macOS 27.2 & Qt6.12: Fixed an issue where Qt Creator no longer stopped at breakpoints
- macOS: Switched from the official Qt installer to Homebrew
- Added support for opening .md files via double-click (Windows and macOS; Linux untested)
- Renamed OFF_MAX to OFF_MAXUINT in md4c.c to resolve a compiler warning
- Preserved scroll position after saving
- MSYS2: Added documentation on how to use the provided shell scripts
2026-11-04:
- macOS: Made some style adjustments for macOS 27
- Implemented less cluttered font combobox (derived from QFontComboBox)
2026-11-05:
- App now supports light and dark themes
- On-the-fly theme switching
- Refined stylesheets
