Reading toolLive

Markdown Reader

Read any Markdown file the way it was meant to look, without uploading it anywhere.

Role
Founder. Product, design and front-end.
Team
Solo build.
Timeline
Built on 1 December 2026
Stack
Plain HTML, CSS and JavaScript as an installable web app (PWA), marked, DOMPurify and highlight.js, a service worker for offline use, and the File System Access API for opening files from Finder and live reload
Year
2026
0
files uploaded. Everything is read and formatted in your browser.
Design rule
Offline
after the first visit, on desktop, iPhone and iPad
Product fact
1 day
from idea to a working, installable app
Delivery fact

The problem

More and more of what I read is Markdown: notes, specs, briefs, READMEs and almost everything an AI tool writes. Opened as a plain file it’s a wall of hashes and asterisks, and most readers want an account, an install or an upload before they show it properly.

I wanted something closer to a PDF viewer: open the file, read it, close it. No sign-up, nothing sent to a server, and it should still work on a plane.

Key decisions

Constraint

It has to open on a Mac, a Windows laptop, an iPhone and an iPad, and a native app means a build and a store listing per platform.

Options

Native apps, a desktop app, or one installable web app.

Decision

One web app that installs like an app (a PWA). In Chrome and Edge it opens .md files straight from Finder or Explorer and reloads as you edit; everywhere else you open a file with the picker or drag it in.

Trade-off

Safari and iOS don’t allow opening files from Finder or live reload for web apps. In return there is one codebase, no store and no updates to install.

Constraint

Markdown can contain raw HTML, and people open files from anywhere, including ones they didn’t write.

Options

Render whatever the file contains, strip all HTML, or sanitise it.

Decision

Every document is sanitised with DOMPurify before it is shown, scripts and forms are removed, and links to other sites open in a new tab.

Trade-off

The odd file that relies on embedded scripts won’t run them. That’s the point.

Constraint

A reader you can’t use offline isn’t much of a reader.

Options

Load everything from the network each time, or cache it.

Decision

The app and its three libraries are pinned to exact versions and cached by a service worker on the first visit, so it opens without a connection. Your last document, and where you were in it, are kept on your device.

Trade-off

The first visit needs a connection. After that it doesn’t.

The work

kevinhorek.com/markdown
Markdown Reader showing an example document with a contents list on the left, a title block, headings, a quote and lists
ReadingA document formatted for reading, with a contents list built from its headings that follows your place.
kevinhorek.com/markdown
Markdown Reader in dark mode showing a table and a highlighted code block with the contents list on Tables
Dark modeTables and highlighted code in dark mode. Auto follows your system, and there are four text sizes.
kevinhorek.com/markdown
Markdown Reader start screen with Open a file, Paste Markdown and Show an example buttons and a recent file
StartOpen a file, drop one anywhere, paste text or try the example. Recent files reopen where you left off.

How it was built

  1. 01DiscoverCalls and walk-throughs with the people who would use it
  2. 02CompileTranscripts, files and constraints in one requirements brief
  3. 03SpecifyA detailed, sourced spec from Perplexity, reviewed and locked
  4. 04BuildDesigned and built with the latest AI models, in the production stack
  5. 05TestUser testing on every preview, with real users on real tasks
  6. 06IterateFindings turned into the next round of changes, worst problems first
  7. 07ShipTests, security review and release, then back to testing and iterating↻ Back to Test
How I work, step by step →

Where AI was used

Built with Claude Code in an afternoon. It has no AI features: it just reads the file.

What’s next

Folder browsing with a sidebar of every .md file, Mermaid diagrams, and showing images that sit next to the file.