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.
What a link can point to
| In the file | Kirbon 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]: … below | Reference links, followed like any other |
[text][nope] with no [nope]: … anywhere | Plain 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.
Broken links
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 shown | Why |
|---|---|
| Can’t find “…” | No file at that path |
| No heading “#…” on that page | The 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 file | Kirbon shows |
|---|---|
 alone in its paragraph | The picture, at its own size, never wider than the text |
 | The picture with the caption “Production” ('…' works too) |
<img src="topology.png" alt="Topology" width="50%"> alone | The 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.png | The picture; its size and caption are changed in Markdown |
 | The picture, without alt text |
Text  text | The alt text as a link to the image, inside the sentence |
[](https://ci.example.com) | The alt text “Build” as a link — badges aren’t drawn |
 | “Remote image · Logo”: Kirbon never downloads anything |
 | “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 file | Kirbon shows |
|---|---|
  | A row of two |
 and on the next line  | A row of two — still one paragraph |
, a blank line,  | Two pictures, one under the other |
<img src="a.png"> <img src="b.png"> | A row of two |
| Two images and a word | Two links in the text |
Two images with two spaces, \ or <br> between | Two links with a line break between |
| An image and a file in one paragraph | Two links in the text |
Files
| In the file | Kirbon shows |
|---|---|
[review.pdf](review.pdf) alone in its paragraph | A file chip: type, name and size; double-click opens it |
| Two or more file links alone in one paragraph | A row of chips |
[review.pdf](review.pdf) (application/pdf) | A link in the text |
[review.pdf](<review.pdf>) alone | A 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) alone | A link: pages are never chips |
[old.pdf](old.pdf) whose file is gone | A broken link |
[flow](flow.drawio) | A file chip;  draws it |
| A file link in a table cell | A 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.