How Kirbon reads Markdown
What is drawn, what is kept as written, what stays text — and the surprises worth knowing first.
What Kirbon reads
Kirbon reads CommonMark with GitHub Flavored Markdown — tables, task lists, strikethrough and autolinks — plus GitHub alerts (callouts), footnotes, YAML front matter, diagram and formula fences, and BPMN and draw.io files written as images. If a page looks right on GitHub, it almost always looks the same in Kirbon.
Visual, Preview, Read Only pages, printing and PDF all use the same renderer, so everything in this section applies to each of them. Markdown mode always shows the file exactly as it is.
Three ways Kirbon shows what you wrote
- Shown and edited. Headings, text styles, lists, tasks, quotes, callouts, tables, code, links, images, files, footnotes, dividers, diagrams. Visual draws them and edits them in place.
- Kept as written. Front matter, HTML blocks, HTML comments, link reference definitions and the extra paragraphs of long footnotes. A block shows as a labelled frame — “HTML block · 6 lines”, “Page properties · 3 fields”, “Comment” — with Edit in Markdown; HTML inside a line is invisible. Visual never changes them.
- Shown as plain text. Syntax from other tools that isn’t part of CommonMark or GFM —
$x^2$,==highlight==,:smile:,[TOC], definition lists. You see it exactly as typed, and it stays in the file.
Nothing in your file is ever dropped: what Kirbon doesn’t draw, it keeps byte for byte.
Block or text: the rule behind most surprises
An image, a file or a diagram file is shown as a block — a picture, a file chip — only when its paragraph holds nothing else. Add anything else to that paragraph — a word, a file type in brackets, a line break written as two spaces or <br> — and it becomes a link in the text, showing its alt text or name.
| In the file | Kirbon shows |
|---|---|
 | The picture |
 (image/png) | A link “Topology” followed by “(image/png)” |
  | Two pictures side by side |
[review.pdf](review.pdf) | A file chip with its type, name and size |
See [review.pdf](review.pdf) first. | A link in the sentence |
The same rule holds in list items, quotes and callouts. GitHub follows it too — an image with text around it is drawn inline there — and Kirbon keeps such text readable rather than putting pictures in the middle of sentences.
Common surprises
| You wrote | What happens | What to write instead |
|---|---|---|
A link followed by a type, like (image/png) — common in pages exported from a wiki | A link in the text, not a picture or chip | Delete the type: leave the link alone in its paragraph |
| Two images on consecutive lines | One row of two pictures | A blank line between them |
A line of text with --- right under it | The text becomes a level-2 heading | A blank line before --- |
<a id="setup"></a> and a link to #setup | The anchor is invisible and the link is broken | Link to a heading: #heading-text |
> [!note], > [!NOTE] Title, > [!INFO] | A plain quote that shows the marker | > [!NOTE] exactly, alone on the first line |
#Heading | A paragraph | A space after # |
$x^2$ or $$ … $$ | Text with dollar signs | A ```math fence |
2*3*4 | The 3 in italics | 2 \* 3 \* 4, or spaces around * |
A table without the | --- | line | Text with pipes | Add the line under the header row |
<a href="…">text</a> | The text, but not a link | [text](…) |
 | “Remote image · Logo” — Kirbon doesn’t download | Add the file to the page |
[](https://ci…) | The alt text “Build” as a link | Fine as it is, or an image without the outer link |
| A footnote of several paragraphs | Only its first paragraph at the end of the page | One paragraph, or edit it in Markdown |
``` that is never closed | The rest of the page is code | Close the fence |
Page Info tells you
Page Info (⌥⌘I) has a Markdown note for every page: “Everything on this page can be edited in Visual”, or a list of what only Markdown edits — Image sizes (HTML), HTML blocks, Comments, Page properties and Other blocks (footnote and link definitions, text Kirbon doesn’t recognise), each with a count. Broken links are listed there too, each with the reason.
In this section
- Headings and text — the title, headings and their anchors, line breaks, text styles, escapes, HTML inside a line, and syntax that stays text.
- Lists, quotes, tables and code — every block, with the rules for callouts, dividers, tables and fences.
- Links, images and files — what a link can point to and why it can be broken, when an image or file is a block, rows, sizes.
- HTML, front matter and footnotes — what Kirbon keeps as written, and how footnotes are numbered.
- Markdown compatibility — how Kirbon writes Markdown when you edit.