Skip to content
TileDownSite version v0.5.24

A featured tile, and settings for titles, tags and pictures

TileDown 0.18.0 adds the featured tile, a hand-picked list of posts with their pictures, settings for the size and width of page titles, a limit for the tag bar, a text alternative for a page's picture, Mermaid diagrams in the theme's colours and fonts embedded in the article PDF.

TileDown 0.18.0 adds one tile and a handful of settings. Some changes reach every site without a setting: the typeface of the article PDF, a skip link on every page and a few theme fixes, all described below.

The featured tile

A featured tile is a short list of posts you pick by hand. The posts appear in the order you write them, never by date. Each one shows its title as a link, its date, its description and, when the post has one, its picture beside the text.

:::tile featured
heading: Start here
headingLevel: 3
post: math-in-markdown
note: The shortest way to see what the build does.
post: charts-in-markdown
post: diagrams-in-markdown
:::

This is that tile, built from three posts of this site:

A post line takes the key a [text](post:key) link takes: the post’s folder name below the posts directory. A note line belongs to the post above it and says why you chose it. heading and headingLevel (2, 3 or 4) put a heading over the list, and style is list (the default, a numbered list) or cards. The title, date and description come from the post, so a post you rename shows its new title here with no edit to this page. A key that names no post, or names a draft, stops the build.

Title size and width

Four new lines in tiledown.yml set the page title, the first-level heading:

titleSize: clamp(1.9rem, 3.4vw, 2.6rem)
titleWidth: 24ch

titleSize is the size of the title on every page and titleWidth is the widest a title line may be. homeTitleSize and homeTitleWidth do the same for the home page alone. The home page is found by its canonical address, so those two need baseURL; without one the build fails. All four take relative CSS lengths only: a size in pixels, a semicolon, a brace or a comment is a build error.

A limit for the tag bar

tagBarLimit: 8 makes the tag bar show the eight most used tags, each with its count, and keeps the rest behind a “Show N more tags” disclosure. 0, the default, shows every tag as before. The tag chips on post cards are now at least 1.75rem high.

A text alternative for the page’s picture

imageAlt in a page’s front matter is the text alternative of its image. It is used on the hero, on the post card and in the sharing metadata (og:image:alt and twitter:image:alt). Without it the page title stands in, as before. This post sets it:

image: /assets/post-tiles.svg
imageDark: /assets/post-tiles-dark.svg
imageAlt: Two tile boxes, labelled callout and counter, above a short bar.

Mermaid diagrams in the theme’s colours

theme.light.diagrams: tokens
theme.dark.diagrams: tokens

With these lines a Mermaid diagram is drawn in the theme’s own colours instead of Mermaid’s light and dark themes.

Fonts embedded in the article PDF

An article PDF now embeds its fonts: the DejaVu Sans faces that come with MarkdownPDF (regular, bold, oblique and mono). Bold text and letter spacing look the same in every viewer. The typeface changes from the viewer’s Helvetica, and the files grow. The PDF engine is MarkdownPDF 0.19.0, with MathTypeset 0.8.0.

An article PDF is also a tagged PDF: the structure tree, the page’s language and its title are written into the file, and a picture with a text alternative is a figure that carries it. No PDF/UA conformance is claimed. The appearance of PDF pages and their PDF/A and PDF/UA conformance are not verified by the tests.

Also in this release

  • Every page starts with a “Skip to content” link, out of sight until it takes the keyboard focus, and the theme toggle says whether the dark appearance is on.

  • tiledown doctor --publish reports more: an image with no text alternative, a heading that skips a level, a second level-one heading, a link whose whole text is a vague phrase such as “click here”, a form control with no name, a button with no name, a page with no language, and a table with no header cell. An image is decorative on purpose when its text is empty and its title is decorative.

  • In the editorial theme two light-mode syntax colours, the number and the comment, are darker. The dark theme is unchanged.

  • The hover text of a point on a line chart no longer has a thick coloured border and smeared text.

  • TileDown makes its temporary folders under the folder TMPDIR names.

Upgrade

brew upgrade tiledown. The full list is on the Changelog page.

TileDown Updates

Stay updated with every exciting new feature we bring to TileDown, the Markdown‑first way to build sites you truly own.

View Markdown source
index.md
---
title: A featured tile, and settings for titles, tags and pictures
date: 2026-11-25
description: TileDown 0.18.0 adds the featured tile, a hand-picked list of posts with their pictures, settings for the size and width of page titles, a limit for the tag bar, a text alternative for a page's picture, Mermaid diagrams in the theme's colours and fonts embedded in the article PDF.
tags: Release, Tiles, Configuration
image: /assets/post-tiles.svg
imageDark: /assets/post-tiles-dark.svg
imageAlt: Two tile boxes, labelled callout and counter, above a short bar.
---
# A featured tile, and settings for titles, tags and pictures

TileDown 0.18.0 adds one tile and a handful of settings. Some changes reach every site without a setting: the typeface of the article PDF, a skip link on every page and a few theme fixes, all described below.

## The featured tile

A `featured` tile is a short list of posts you pick by hand. The posts appear in the order you write them, never by date. Each one shows its title as a link, its date, its description and, when the post has one, its picture beside the text.

```
:::tile featured
heading: Start here
headingLevel: 3
post: math-in-markdown
note: The shortest way to see what the build does.
post: charts-in-markdown
post: diagrams-in-markdown
:::
```

This is that tile, built from three posts of this site:

:::tile featured
heading: Start here
headingLevel: 3
post: math-in-markdown
note: The shortest way to see what the build does.
post: charts-in-markdown
post: diagrams-in-markdown
:::

A `post` line takes the key a `[text](post:key)` link takes: the post's folder name below the posts directory. A `note` line belongs to the post above it and says why you chose it. `heading` and `headingLevel` (2, 3 or 4) put a heading over the list, and `style` is `list` (the default, a numbered list) or `cards`. The title, date and description come from the post, so a post you rename shows its new title here with no edit to this page. A key that names no post, or names a draft, stops the build.

## Title size and width

Four new lines in `tiledown.yml` set the page title, the first-level heading:

```yaml
titleSize: clamp(1.9rem, 3.4vw, 2.6rem)
titleWidth: 24ch
```

`titleSize` is the size of the title on every page and `titleWidth` is the widest a title line may be. `homeTitleSize` and `homeTitleWidth` do the same for the home page alone. The home page is found by its canonical address, so those two need `baseURL`; without one the build fails. All four take relative CSS lengths only: a size in pixels, a semicolon, a brace or a comment is a build error.

## A limit for the tag bar

`tagBarLimit: 8` makes the tag bar show the eight most used tags, each with its count, and keeps the rest behind a "Show N more tags" disclosure. `0`, the default, shows every tag as before. The tag chips on post cards are now at least 1.75rem high.

## A text alternative for the page's picture

`imageAlt` in a page's front matter is the text alternative of its `image`. It is used on the hero, on the post card and in the sharing metadata (`og:image:alt` and `twitter:image:alt`). Without it the page title stands in, as before. This post sets it:

```yaml
image: /assets/post-tiles.svg
imageDark: /assets/post-tiles-dark.svg
imageAlt: Two tile boxes, labelled callout and counter, above a short bar.
```

## Mermaid diagrams in the theme's colours

```yaml
theme.light.diagrams: tokens
theme.dark.diagrams: tokens
```

With these lines a Mermaid diagram is drawn in the theme's own colours instead of Mermaid's light and dark themes.

## Fonts embedded in the article PDF

An article PDF now embeds its fonts: the DejaVu Sans faces that come with MarkdownPDF (regular, bold, oblique and mono). Bold text and letter spacing look the same in every viewer. The typeface changes from the viewer's Helvetica, and the files grow. The PDF engine is MarkdownPDF 0.19.0, with MathTypeset 0.8.0.

An article PDF is also a tagged PDF: the structure tree, the page's language and its title are written into the file, and a picture with a text alternative is a figure that carries it. No PDF/UA conformance is claimed. The appearance of PDF pages and their PDF/A and PDF/UA conformance are not verified by the tests.

## Also in this release

- Every page starts with a "Skip to content" link, out of sight until it takes the keyboard focus, and the theme toggle says whether the dark appearance is on.
- `tiledown doctor --publish` reports more: an image with no text alternative, a heading that skips a level, a second level-one heading, a link whose whole text is a vague phrase such as "click here", a form control with no name, a button with no name, a page with no language, and a table with no header cell. An image is decorative on purpose when its text is empty and its title is `decorative`.
- In the editorial theme two light-mode syntax colours, the number and the comment, are darker. The dark theme is unchanged.
- The hover text of a point on a line chart no longer has a thick coloured border and smeared text.
- TileDown makes its temporary folders under the folder `TMPDIR` names.

## Upgrade

`brew upgrade tiledown`. The full list is on the [Changelog](/changelog/) page.