# Markdown Viewer

A markdown viewer that renders a .md file with a contents list and a reading time. Scripts are sandboxed and remote images blocked. Nothing is uploaded.

Canonical page: https://filetity.com/markdown-viewer

## Capabilities

- Free: Yes, with no watermark and no page limit.
- Account required: No. There is no account system.
- Processed on device: Yes. The file is read by your browser and never uploaded. There is no server to send it to.
- Formats: MD, MARKDOWN, MDX and TXT in, or pasted text. Nothing comes out: this one reads.
- Limits: Whatever your browser will hold. Very long documents render fine; the contents list is what makes them navigable.
- Mobile: Yes, on any modern mobile browser. Large files are limited by the memory the phone gives the browser.
- Offline: Yes, once the page has loaded. The tool keeps working with no network connection.

## Questions

### Why are the images in my README not showing?

Remote images are blocked until you ask for them. Badges and screenshots in a README are usually hosted on someone else's server, and loading them tells that server your address and the moment you opened the file. There is a checkbox under the document to turn them on when you want to see them.

### Does it render GitHub flavoured markdown?

Tables, fenced code blocks, task lists and strikethrough, yes. What it does not do is GitHub's own extensions to its own site: issue references, @mentions and the coloured note and warning blocks are GitHub features rather than markdown, and they render as the plain text they are.

### Can markdown be dangerous to open?

The markdown itself, no. What it can carry is raw HTML, which is part of the format, and a script tag inside that HTML runs when a viewer inlines the result into its own page. Here the document is drawn inside a sandboxed frame with scripts, forms and navigation all switched off, so it renders exactly as it should and can do nothing else.

### Where does the reading time come from?

The word count divided by 200 words a minute, rounded up to at least one. Two hundred is the low end of the range adult reading studies report and what most publishing tools use. Code blocks are counted, because they are on the page and reading them takes time too.

## Related tools

- [Markdown to HTML](https://filetity.com/markdown-to-html): Convert Markdown to HTML, as a fragment or a whole styled page.
- [HTML to Markdown](https://filetity.com/html-to-markdown): Convert HTML into clean Markdown, without the scripts and styles.
