About
Paste the Markdown an AI wrote, or any document that mixes Markdown, HTML and CSV, pick a theme, and get one styled page you can print, download or copy. Generate the content once; restyle and export it as often as you like.
One document, three formats
People often write notes that already mix a Markdown body, a pasted HTML snippet and a CSV table copied from a spreadsheet. markdown.style takes that mixed document as it is and renders it as one styled page, without asking you to split it into separate files first.
How the formats mix
Markdown is the document. Everything you type is parsed as Markdown first.
Raw HTML is native to Markdown: block tags at the start of a line, and inline tags anywhere, render as HTML. Blank lines around a block let Markdown inside it render too.
CSV goes in a fenced code block marked csv, or tsv for tab-separated data. The first row becomes the table header:
```csv
item,qty,price
Notebook,3,4.50
```Footnotes, math between dollar signs in TeX syntax, and Mermaid diagrams in a mermaid fence render too. Math becomes MathML, so it needs no extra fonts; diagrams are drawn in the browser and carried into every export.
What you can do with the result
- Print or save as PDF: opens your browser's print dialog.
- Download .html: a standalone file with the theme's CSS embedded and its fonts linked.
- Copy styled HTML: the styles travel inline, so the look survives pasting into an email or a CMS.
- Download .md: the source exactly as you wrote it.
Themes
markdown.style has 20 themes, from a plain paper look to a dark terminal, each with its own colours, type and spacing. Browse them all on the themes page.
Privacy
No document content is sent to a server. The privacy page lists what is stored on your device and which requests the site makes.
Questions
Does my text leave the browser?
No. Rendering, theming and exporting all run in JavaScript in your browser, and the document is never uploaded.
How do I turn CSV into a table?
Put it in a fenced code block marked csv, with the first row as the header. Pasting CSV-shaped text does this for you, with an Undo button if it guessed wrong.
How do I get a PDF?
Open the Export menu and choose Print or save as PDF, then pick Save as PDF in your browser's print dialog. Dark themes print as dark text on white.
Why did my inline styles disappear?
Style tags, style attributes and scripts in pasted HTML are removed before rendering, so the theme controls every element, not the formatting you copied from.
Does copied HTML keep formatting in Gmail?
It should. The copied HTML carries its styles inline, which is what Gmail and most editors keep when you paste. List markers are the one thing that may be lost, so check the result before sending.
Can I use my own fonts?
No. Each theme defines its own typefaces. Repo uses your device's system fonts for headings and body text, and loads one Google Font for code.
Open source
markdown.style is open source under the Apache 2.0 licence. The code is onGitHub, including every theme, so you can read exactly what happens to a document.
Built with
Built with Astro, markdown-it, DOMPurify and highlight.js. Typefaces from Google Fonts.