TileDown

Docs

TileDown is a Swift package under Packages/. The engine is TileKit; the CLI is tiledown.

Build this website

From the repo root:

scripts/build-website.sh
scripts/check-website.sh

The first command writes the generated site to .build/website. The second command builds it, serves it locally, and runs Playwright checks against the generated pages.

CLI surface

cd Packages
swift run tiledown version
swift run tiledown build source.md template.html out.html
swift run tiledown build-site ../Website/content ../.build/website
swift run tiledown json ../Website/content/index.md ../.build/home.json
swift run tiledown fmt --check ../Website/content/index.md

Current status

AreaStatus
Markdown parsingCommonMark plus a constrained profile
Built-in layoutstop navigation and left sidebar
Themesstandard and system themes with light/dark support
Postsdated posts, latest posts, RSS, tags, draft exclusion
Tilescallout, counter, and service-form internals
Service formstested in the engine, waiting on CLI config loading
Live publishingGitHub Pages workflow builds this site from source
PlatformsmacOS and Linux build and test gates

Architecture

The design documents are part of the repository:

The package is split into small targets: core product metadata, source parsing, tile parsing, Markdown rendering, output rendering, site generation, service contracts, service-form rendering, and the facade used by the CLI.