Skip to content

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

  1. 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.
  2. 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.
  3. 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 fileKirbon shows
![Topology](topology.png)The picture
![Topology](topology.png) (image/png)A link “Topology” followed by “(image/png)”
![A](a.png) ![B](b.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 wroteWhat happensWhat to write instead
A link followed by a type, like (image/png) — common in pages exported from a wikiA link in the text, not a picture or chipDelete the type: leave the link alone in its paragraph
Two images on consecutive linesOne row of two picturesA blank line between them
A line of text with --- right under itThe text becomes a level-2 headingA blank line before ---
<a id="setup"></a> and a link to #setupThe anchor is invisible and the link is brokenLink to a heading: #heading-text
> [!note], > [!NOTE] Title, > [!INFO]A plain quote that shows the marker> [!NOTE] exactly, alone on the first line
#HeadingA paragraphA space after #
$x^2$ or $$ … $$Text with dollar signsA ```math fence
2*3*4The 3 in italics2 \* 3 \* 4, or spaces around *
A table without the | --- | lineText with pipesAdd the line under the header row
<a href="…">text</a>The text, but not a link[text](…)
![Logo](https://…/logo.png)“Remote image · Logo” — Kirbon doesn’t downloadAdd the file to the page
[![Build](badge.svg)](https://ci…)The alt text “Build” as a linkFine as it is, or an image without the outer link
A footnote of several paragraphsOnly its first paragraph at the end of the pageOne paragraph, or edit it in Markdown
``` that is never closedThe rest of the page is codeClose 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