Skip to content

Links, images and files

What a link can point to and why it breaks, and when an image or file is a block, a row or a link.

In the fileKirbon shows
[Deployment](../development/deployment.md)A link to the page
[Deployment](deployment.md#rollback)A link to a heading on that page
[Rollback](#rollback)A link to a heading on this page
[Integration](../architecture/integration/README.md)A link to a section page
[Development](../development)A link to a section — valid whether or not the folder has a section page
[Deployment](/development/deployment.md)A path from the top of the documentation folder
[Review](../assets/review-k3x9q2/review.pdf)A link to a file
[Swift](https://swift.org), [Team](mailto:team@example.com)A web or mail link, marked ↗; it opens in your browser or mail app
[Release](release.md "How we ship")A link; the title isn’t shown
[Setup][setup], [Setup][], [Setup] with [setup]: … belowReference links, followed like any other
[text][nope] with no [nope]: … anywherePlain text “[text][nope]”

Paths are relative to the page, as on GitHub. A path with spaces is written either with %20 (my%20page.md) or in angle brackets (<my page.md>); Kirbon reads both and writes %20 for links it makes. A ?query is ignored when Kirbon looks for the target.

A link Kirbon can’t follow is underlined with a red dotted line; hovering it says why, and Page Info lists it with the same reason.

Reason shownWhy
Can’t find “…”No file at that path
No heading “#…” on that pageThe page exists, but no heading has that anchor — HTML anchors like <a id> don’t count
Letter case differs: …The file exists with other capitals — GitHub would not find it, so Kirbon doesn’t either
Points outside this documentation../ leads above the documentation folder

Links in front matter, comments and HTML (other than an <img>’s src) aren’t checked. Kirbon never rewrites a broken link by itself; when you rename or move a page in Kirbon, links to it are updated for you.

Images

In the fileKirbon shows
![Topology](topology.png) alone in its paragraphThe picture, at its own size, never wider than the text
![Topology](topology.png "Production")The picture with the caption “Production” ('…' works too)
<img src="topology.png" alt="Topology" width="50%"> aloneThe picture at half the text width
<img … width="480"> or width="480px"The picture 480 px wide (never wider than the text)
![Topology][topo] with [topo]: topology.pngThe picture; its size and caption are changed in Markdown
![](topology.png)The picture, without alt text
Text ![Topology](topology.png) textThe alt text as a link to the image, inside the sentence
[![Build](badge.svg)](https://ci.example.com)The alt text “Build” as a link — badges aren’t drawn
![Logo](https://example.com/logo.png)“Remote image · Logo”: Kirbon never downloads anything
![Topology](missing.png)“missing.png can’t be found”, the alt text and Locate…
<p align="center"><img …></p>An HTML block, kept as written

Drawn as pictures: PNG, JPEG, GIF, WebP, HEIC, SVG, TIFF and BMP. Written as images, .bpmn, .drawio, .dio and .drawio.svg files are drawn as diagrams — see Diagrams.

In <img>, only src, alt, title and width matter: height and style are ignored on the page and kept in the file. Why sizes are written as HTML, and which viewers show them, is on Images.

Images side by side

Two or more images in one paragraph, with nothing but spaces or single line breaks between them, are a row: centred, each at its own size, wrapping to the next line when they don’t fit. So are <img> elements alone on their lines.

In the fileKirbon shows
![A](a.png) ![B](b.png)A row of two
![A](a.png) and on the next line ![B](b.png)A row of two — still one paragraph
![A](a.png), a blank line, ![B](b.png)Two pictures, one under the other
<img src="a.png"> <img src="b.png">A row of two
Two images and a wordTwo links in the text
Two images with two spaces, \ or <br> betweenTwo links with a line break between
An image and a file in one paragraphTwo links in the text

Files

In the fileKirbon shows
[review.pdf](review.pdf) alone in its paragraphA file chip: type, name and size; double-click opens it
Two or more file links alone in one paragraphA row of chips
[review.pdf](review.pdf) (application/pdf)A link in the text
[review.pdf](<review.pdf>) aloneA link in the text — the form of Show as Link in Text
[Topology](topology.png)A link: a link to an image file, without !, isn’t drawn
[Deployment](deployment.md) aloneA link: pages are never chips
[old.pdf](old.pdf) whose file is goneA broken link
[flow](flow.drawio)A file chip; ![flow](flow.drawio) draws it
A file link in a table cellA link

Angle brackets around a path that has spaces don’t count as the “link in text” form: such a path needs them, so [my file.pdf](<my file.pdf>) alone is still a chip.

In lists, quotes and callouts

Everything above works the same inside a list item, a quote or a callout: an item, quote line or callout line that is only an image, a row or a file shows it as a block, and one with text around it shows a link. More on Images.