Markdown: a quick reference
The whole markup in four pages: what to type, how it renders and the mistakes people make most often.
Памятка с титульным листом: PDF готов к печати, DOCX — чтобы поправить или дописать.

Markdown is a way to mark up text with plain symbols: hashes, asterisks, dashes. The file stays plain text, while any program (GitHub, Obsidian, Notion, Telegram, a site editor) shows it nicely formatted.
The advantage is that the markup is readable even before it is rendered: you can see what is a heading, a list or a code block. Below is a short reference that covers 95 % of everyday tasks.
Headings
One to six hashes set the heading level. A space after the hashes is required.
# First level
## Second level
### Third level
#### Fourth levelA document usually has one first-level heading — the title of the article.
Emphasis
**bold**
*italic*
***bold italic***
~~strikethrough~~
`inline code`Asterisks can be replaced with underscores: _italic_ and __bold__. The main rule: no space right after the opening symbol.
Lists
A bulleted list uses a dash, asterisk or plus. A numbered list uses a digit and a dot. Indent by two to four spaces for a nested level.
- milk
- bread
- loaf
- bun
1. first step
2. second step
3. third stepYou may write all numbers as ones — Markdown renumbers them itself.
Links and images
[link text](https://example.com)
[link with a title](https://example.com "shown on hover")
[](https://example.com)The difference between a link and an image is the exclamation mark in front. The text in square brackets becomes the caption.
Quotes
> One line of a quote.
>
> A second paragraph inside the quote.The greater-than sign starts every line. An empty “>” line separates paragraphs inside the quote.
Code
Inline code uses backticks. A code block uses three backticks before and after, optionally with a language for highlighting.
```python
print("Hello")
```If the code itself contains backticks, wrap the block in four of them.
Tables
| Subject | Hours | Grade |
|---------|------:|:-----:|
| Physics | 2 | 5 |
| History | 1 | 4 |The second line sets the alignment: a colon on the left — left-aligned, on the right — right-aligned, both — centred. Outer pipes are optional.
Rules and line breaks
---
First line
second line after two spacesThree dashes (or three asterisks) on a separate line give a horizontal rule. Two trailing spaces make a line break without a new paragraph.
Escaping
If a symbol is needed as is, put a backslash before it.
\*not italic\*
\#not a heading
\`not code\`Checklists and other extensions
- [x] report submitted
- [ ] learn the poem
- [ ] give the presentationCheckboxes are a GitHub Flavored Markdown extension — like tables, footnotes and automatic links, they may be missing in classic Markdown.
Common mistakes
- No space after the hash or the dash — the markup does not work.
- No blank line between paragraphs — the lines merge into one.
- An asterisk stuck to the text on both sides without spaces makes unintended italics.
- Single quotes in a link title instead of double ones — the tooltip will not appear.
- A table without the second dashed line becomes ordinary text.
Where it helps
- Notes and study: Obsidian, Logseq, Joplin.
- Code and documentation: GitHub, GitLab, README files.
- Articles and blogs: Ghost, Hugo, Jekyll, Telegram (partly).
- Work: tickets, checklists, team wikis.
What to remember
- Heading — hashes, list — dashes, bold — two asterisks.
- A blank line separates blocks.
- Code — backticks, three of them for a block.
- A link is brackets plus parentheses; an image adds an exclamation mark.