Markdown Cheat Sheet

Markdown syntax - easier to write and store than HTML

Download as .pdf

API: /api/v1/cheatsheet/markdown-cheat-sheet

1. Headings

# H1
## H2
### H3
#### H4
##### H5
###### H6

2. Text Formatting

*italic* or _italic_        -> italic
**bold** or __bold__        -> bold
***bold italic***   bold    -> italic
~~strikethrough~~           -> text 
`inline code`               -> code

3. Lists

Unordered:

- Item
* Item
+ Item

Ordered:

1. First
2. Second

Nested:

- Item
  - Subitem

[Text](https://example.com)

Reference-style: [Text][id]

[id]: https://example.com

5. Images

![Alt text](image.png)

6. Blockquotes

> Quote
>> Nested quote

7. Code Blocks

Inline
`code`

Fenced
 ```python print("Hello") ``` 
Indented code block

8. Tables

| Name | Age |
|------|-----|
| Alice | 25 |
| Bob   | 30 |

Alignment:
| Left | Center | Right |
|:-----|:------:|------:|

9. Horizontal Rule

---
***
___

10. Task Lists (GitHub / modern tools)

  • [x] Done
  • [ ] Todo

11. Escaping Characters

*not italic* # not heading


12. HTML Inside Markdown

Markdown allows raw HTML:
<b>Bold</b>
<br>

13. Python-Specific Usage Patterns

Used in tools like pdoc, mkdocstrings:

python

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
def func():
    """
    ### Description
    This function does something.

    **Example:**
    ```python
    func()
    ```
    """
 ```python def hello(): pass ``` 

14. Common Mistakes

  • Indentation matters in lists and code blocks
  • Not all Markdown flavors support all extensions
  • HTML may be stripped in some renderers
  • LaTeX only works where explicitly supported

17. Quick Reference

# Heading
**bold** *italic*
- list
1. list
[link](url)
![img](src)
`code`
```python
code block
quote

Join the Newsletter

Practical insights on Django, backend systems, deployment, architecture, and real-world development — delivered without noise.

Get updates when new guides, learning paths, cheat sheets, and field notes are published.

No spam. Unsubscribe anytime.



There is no third-party involved so don't worry - we won't share your details with anyone.