← Back to write-ups
07 Jul 20267 min read

MDocForge Pro — Design by Link with IQ (ASRBMY)

MDocForge Pro

MDocForge Pro is the enhanced edition of MDocForge — a single-file, browser-based, block-based Markdown/HTML document editor with live preview and multi-format export (PDF, Word, HTML, Markdown, PNG, plain text).

Everything from the standard MDocForge editor is included, plus a large set of professional/"pro" additions: more block types, themes & dark mode, page/cover-page design controls, undo/redo, find & replace, image uploads, table editing tools, project save/load, autosave, and printing.

Open mdocforge-pro.html in any modern browser — no install, no account, no server. Everything runs locally and your content never leaves your device.


Everything from the standard editor

The sections below cover what's new in Pro.


New block types

In addition to the original blocks (headings, paragraphs, quotes, lists, tables, images, code, dividers, links), Pro adds:

Slash-command quick insert ("/")

Type / inside any text block (heading, paragraph, quote, or callout) to open a Notion-style quick-insert menu. Start typing to filter the list of block types (Heading, Paragraph, Quote, Table, Image, Callout, Columns, Table of contents, etc.), then use the arrow keys and Enter — or click — to insert that block.

Enhanced table editing

Tables now include inline controls beneath them:

Image upload & drag-and-drop

Image blocks are no longer URL-only:


Design & Export settings (🎨 Design)

A new Design button opens a settings panel with three tabs that control both the live preview and your exports:

Theme tab

Five built-in visual themes you can switch between instantly — they restyle headings, body text, tables, callouts, links, and more, both in the preview and in PDF/HTML exports:

Page & PDF tab

Cover page tab


Dark mode (🌙)

A one-click toggle switches the entire editing interface (toolbar, panels, editor) between light and dark UI themes. This is independent from the document preview theme described above — you can write in a dark interface while previewing a light document theme (e.g. "Slate" for a dark document, or any other theme).

Undo / Redo (↶ / ↷)

Every meaningful edit — typing, formatting, adding/removing/reordering blocks, table edits, image changes — is tracked in a history stack (up to 100 steps). Use the toolbar buttons or keyboard shortcuts:

Find & Replace (🔍 Find, Ctrl/Cmd + F)

A find bar appears over the preview pane:

Resizable split view

The divider between the Editor and Preview panes can be dragged left or right to resize each pane to your preference.

Sends the live preview directly to your browser's native print dialog — useful for quick printing or "Save as PDF" via the browser's own print-to-PDF feature, as an alternative to the built-in PDF exporter.


Project management (📁 Project)

Beyond exporting the document, Pro lets you save and restore your entire working project (content + settings):

Autosave

Your work is automatically saved to the browser's local storage as you edit (content and settings included). If you close the tab or reload the page, MDocForge Pro restores your last session automatically — no manual saving required for day-to-day use.


How it works (under the hood)

Like the standard edition, MDocForge Pro is a single static HTML file with embedded CSS/JavaScript, using CDN libraries for conversions:

Core model

Your document is stored as an array of block objects (e.g. {type:'callout', style:'tip', content:'...'} or {type:'toc'}), exactly as in the standard edition — but with new block types and richer metadata for the new features. A parallel settings object stores all Design-panel choices (theme, page size, margins, header/footer text, cover page fields, dark mode).

Because everything — editing, theming, exporting, and autosave — happens in the browser, no content is ever uploaded to a server.


Quick start

  1. Open mdocforge-pro.html in a browser. If you have a previous session, it loads automatically; otherwise the sample report loads.
  2. Write or paste content in the editor, or drag blocks (including Callouts, Columns, and Table of Contents) from the sidebar.
  3. Type / in any text block for the quick-insert menu.
  4. Click 🎨 Design to pick a theme, page size, cover page, and header/footer for your exports.
  5. Toggle 🌙 for a dark editing interface, use Ctrl+Z / Ctrl+Y to undo/redo, and Ctrl+F to find & replace.
  6. Use 📁 Project to save your work as a .json file or .zip bundle, or rely on autosave to pick up where you left off.
  7. Click Export to download your document as PDF, DOCX, HTML, Markdown, PNG, or TXT — or use 🖨 Print for the browser's print/PDF dialog.