Formatting (Markdown)
# Title ## Section ### Sub | Headings — they feed the table of contents automatically |
**bold** · *italic* · `code` | Inline styling |
- item / 1. item | Bullet / numbered lists (indent two spaces to nest) |
> text | Quotation block |
| A | B | rows with | --- | --- | | Tables — first row becomes the shaded header |
``` … ``` | Code block |
[text](https://url) | Link |
++underline++ · ~~strike~~ | Underline / strikethrough |
==highlight== · =={green}text== | Highlighter — Word's 15 colours by name (yellow, green, cyan, magenta, darkBlue…) |
~sub~ · ^sup^ | Subscript / superscript (no spaces inside) |
[text]{color=#c00000} | Text colour — also bg=#ffe28a (shading), size=14 (pt), font="Georgia", u, sc (small caps), caps; combine freely |
:::center … ::: | Alignment block — also :::right, :::left, :::justify |
DocForge extras
[screenshot: caption] | Screenshot placeholder — prints as a neat labelled box, or click it in the preview to attach the real image. Numbered as “Figure N” either way. Options after |: w:60% width, noborder, #fig:name for cross-referencing. |
[table: caption] | Caption for the table that follows — numbered “Table N”. Add | #tbl:name to reference it. |
[toc] · [lof] · [lot] | Table of contents / list of figures / list of tables, with real page numbers |
[pagebreak] | Start a new page |
:::note Title … ::: | Callout box — also :::tip, :::warning, :::important |
:::banner … ::: | Title plate — a filled band; first line set large and white, the rest small in the accent tint |
[^1] and [^1]: note text | Footnote — placed at the foot of the right page in the PDF and as a real Word footnote |
[#fig:name] [#tbl:name] [#sec:name] | Cross-reference — prints as “Figure 3”, “Table 1”, “Section 2.1”. Label a heading with ## Title {#sec:name}. |
[@key] and [@key]: Full reference | Citation and its entry; [references] places the list. Style (numeric [1] or Author–year) in Settings. Locators work: [@key, p. 33]. |
$x^2$ and $$ … $$ | Mathematics (LaTeX) — inline or display. Exports as a real editable equation in Word. |
```python | Name a language on a code fence for syntax colouring (36 common languages) |
Typefaces & borders
Settings offers six embedded typefaces (Source Sans, Source Serif, Inter, Montserrat, Garamond, Crimson) for headings and body independently — the same fonts travel inside the Word file, so it looks identical on any machine. Below them sits the whole classic Word font menu (Calibri, Cambria, Times New Roman, Georgia, Garamond, Comic Sans MS and ~50 more): those are used from this device and written into the .docx by name — Word supplies its own copy, so the Word file is exact; on a machine without the font the preview falls back to a lookalike. The toolbar's typeface/size boxes restyle just the selected text. Page borders come in seven styles with weight and colour options, drawn the same in the PDF and as real Word page borders.
Importing Word & PDF files
Open (or drop a file on the editor) also accepts .docx, .pdf, .md, .txt, .html, .csv, .xlsx, .pptx, .epub, .ipynb and images. Word documents keep headings, lists, tables, images and inline styling; spreadsheets become tables per sheet, decks become a section per slide with speaker notes, and notebooks keep their prose and code cells.
A PDF offers two roads. Edit in place keeps the exact printed layout: double-click any line to rewrite it — it reappears at the same spot, size and in the PDF's own font (embedded fonts only carry the characters the document already uses; type a character the font's subset lacks and that line falls back to the closest standard face, with a notice). The toolbar adds free text, white-out, highlights and images; Export rebuilds the same PDF with your edits on top. Text doesn't reflow, and a rewritten line's original characters technically remain beneath the cover, so don't use it to redact secrets. Convert to editable text rebuilds the content as a DocForge document you can rewrite freely (layout reflows; scanned PDFs need OCR first).
Editing the manuscript directly
The pages on the right are a real editing surface: click into any paragraph, heading, list, table or callout and type — the Markdown source keeps itself in step, and the pages recompose around your caret when you pause. Generated furniture (the contents page, reference list, resolved cross-references, equations, figures) is read-only on the page — edit those from the source panel. Both panes share one document and one undo history (Ctrl+Z anywhere).
Editor
Ctrl+K opens the command palette — every action in the app, searchable by name · Ctrl+F find / Ctrl+H replace · ☰ above the preview lists your sections — click one to jump · pasted Word/web content converts to Markdown automatically · the checks badge (bottom left) lists things that would break the export — click a line to jump to it · the moon button switches the app chrome between dark and light; the document itself always prints on white.
Exporting
PDF — click PDF, then choose Save as PDF as the destination in the print dialog. Best in Chrome or Edge. If the dialog shows “Headers and footers”, untick it (DocForge prints its own).
Word — click Word for a real .docx. If Word asks to update fields when opening, click Yes — that fills in the table of contents page numbers.
Markdown — the download arrow in the file tray (or Export Markdown in the palette) hands the document back as a plain .md file. Combined with Open, that's a converter: drop in a Word file, PDF, spreadsheet, deck, book or notebook, and download it as Markdown with its structure kept.
Your work
Everything autosaves in this browser. Save downloads a .docforge.json project file — including attached images — that you can reopen on any computer with Open. This app is a single offline file: no account, no server, yours forever.