Skip to content
toolbelt
Back to Guides

Why Your README Table Renders as Text

By ·

Updated

Markdown looks simple until a table collapses into a paragraph. The cause is almost always a blank line.

What is this tool?

Markdown turns structured plain text into HTML. GitHub flavoured Markdown added tables, task lists and fenced code, and that is now what most people mean.

How it works

The source is parsed into block elements, then inline elements, then serialised to HTML. The preview runs in a sandboxed iframe, so any raw HTML you paste cannot touch the surrounding page.

Example

| Tool | Purpose |
|------|---------|
| JSON | format  |

- [x] write
- [ ] ship

When to use it

Previewing a README before pushing. Checking a table actually renders. Copying generated HTML into a CMS that accepts markup.

Optimization Tips

A table needs a blank line before it and a separator row of dashes under the header. Forgetting either is the most common reason Markdown renders as plain text. Two trailing spaces make a line break.

Frequently Asked Questions

Is there syntax highlighting?
Not currently. Code blocks render as monospaced text.
Is the HTML safe to publish?
Treat it as untrusted if the Markdown came from elsewhere. Raw HTML passes through, so sanitise before publishing.
Why did my table break?
Missing blank line above it, or a separator row that is not all dashes and pipes.
Can I export a PDF?
Use the browser print dialog on the preview.

Ready to try it out?

Put this knowledge into practice with our free tool.

Go to Tool

Related tools