Developer
Markdown Cheat Sheet: Everything You Need to Write Better Docs
Markdown is the closest thing the web has to a universal writing format. It powers READMEs, pull request descriptions, forum posts, documentation sites, and most static site generators. Yet many developers know just enough to get by. This reference covers the essentials plus the syntax people routinely get wrong.
The essentials in one glance
# H1through###### H6for headings**bold**and*italic*[text](url)for links andfor images---for a horizontal rule
Lists that nest cleanly
Unordered lists use -, ordered lists use numbers. Nest by indenting four spaces (or two in most renderers). The number you type for the first item matters; everything after is auto-sequenced by most engines, which makes reordering less painful.
Code blocks done right
Inline code ticks `code` are for short fragments. Fenced code blocks with three backticks allow language highlighting and prevent the renderer from eating your formatting. Always add the language tag — ```js, ```python, ```sql — so the syntax lights up correctly.
Tables that actually render
Tables need a header row, a separator row, and pipe-delimited content:
| Feature | Status || ------- | ------ || Export | Done |
Alignment is optional (:--- left, ---: right, :---: center) but produces professional output for status reports.
Pitfalls that break renders
- Mixing tabs and spaces in lists and code blocks
- Forgetting a blank line before a table or list
- Using HTML-style line breaks where Markdown wants two spaces or a blank line
- Nesting code fences inside list items without extra indentation
Paste a draft into a live Markdown preview before committing, so rendering issues never make it into a public README or documentation page.
Related developer tools
JSON Formatter
Format, validate, and inspect JSON instantly. Essential for debugging API responses and configuration files.
Regex Generator
Generate a ready-to-use regex for common cases such as email or URL matching.
SQL Formatter
Format and beautify standard ANSI SQL queries (SELECT, JOIN, WHERE, GROUP BY, ORDER BY, CTEs, subqueries) with clean keyword indentation.
JWT Decoder
Decode JSON Web Tokens and inspect the header and payload contents.
YAML Syntax Checker
Check YAML indentation, syntax, forbidden tabs, and unclosed quotes directly in your browser before parsing.
Markdown Preview
Preview how your Markdown content will render as HTML with live conversion.
More developer guides
JSON Formatting and Validation: A Developer's Guide to Clean Data
Master JSON formatting, validation, and debugging with practical examples and best practices.
Regex Tutorial: Patterns for Real-World Matching
A beginner-friendly guide to regular expressions — literals, character classes, quantifiers, groups, and the mistakes to avoid.
JWT Explained: What a JSON Web Token Actually Is
Header, payload, signature — and why decoding a JWT is not the same as verifying it. A security-accurate explainer.
SQL Formatting Best Practices: Readable Queries That Scale
Consistent indentation, capitalized keywords, clear aliases — the formatting habits that make SQL maintainable.
YAML Guide: Syntax, Common Errors, and When to Use It
Indentation, mappings, arrays, and the YAML gotchas that break config files — plus how YAML compares to JSON.
Why Browser-Based Tools Are the Safest Way to Handle Sensitive Documents
Discover why processing files in your browser protects privacy better than desktop or cloud alternatives.
Was this guide helpful?
Browse more tools and guides to get your work done faster — all in your browser, no account needed.
Explore all tools