Today, I tested my simple Markdown editor. I used artificial intelligence.
This project is a custom Markdown editor built with PyQt6.
It provides a two‑panel interface where the user writes Markdown on the right side and sees a live HTML preview on the left side.
The goal is to offer a simple and efficient workflow similar to GitHub’s Markdown rendering.
Main Features
-
Two‑panel layout The left panel displays the rendered HTML preview, while the right panel contains the Markdown editor and formatting buttons.
-
Real‑time preview Every change in the editor updates the preview instantly. The preview uses multiple Markdown extensions to support tables, lists, code blocks, footnotes, and other GitHub‑style formatting.
-
Image support Images inserted through the editor are converted to local file URLs. This ensures that the preview panel can load them correctly, even when the image is stored outside the project folder.
-
Markdown extensions The editor enables a wide set of extensions, including:
- tables
- fenced code blocks
- footnotes
- definition lists
- smart quotes
- wiki links
- admonitions
- GitHub‑style lists
-
Editing toolbar The editor includes quick‑insert buttons for bold, italic, lists, and images. These buttons modify only the Markdown text in the editor panel.
-
Zoom controls The preview panel includes buttons for resetting zoom to 100 percent, zooming in, and zooming out. This helps when working with long documents or detailed tables.
-
File operations The application supports creating, opening, and saving Markdown files. It also includes an option to export the rendered content as an HTML file.
-
Theme switching Users can switch between light and dark themes depending on their preference.
-
Drag and drop Markdown files can be opened by dragging them directly into the window.
-
Plugin system The editor includes a simple plugin mechanism that allows adding new features without modifying the core application.
-
Status bar The bottom bar displays the current file path, file size, and word count.
















