Headers
tag by "#"
tag by "##"
tag by "###"
tag by "######"
Alternatively, for H1 and H2, an underline-ish style:
Alt-H1 by "====="
Alt-H2 by "-----"
Emphasis
Raw | Rendered |
---|---|
*This text will be italic* |
This text will be italic |
_This will also be italic_ |
This will also be italic |
**This text will be bold** |
This text will be bold |
__This will also be bold__ |
This will also be bold |
_You **can** combine them_ |
You can combine them |
This text is ***really important*** |
This text is really important |
This text is ___really important___ |
This text is really important |
Strikethrough ~~Scratch this.~~ |
Strikethrough |
<ins>Underline </ins> |
Underline |
Line Breaks
To create a line break (
), end a line with two or more spaces (referred to as “trailing whitespace”), and then type return.
or
HTML tag
Lists
Unordered
Raw script below
* Item 1
* Item 2
* Item 2a
* Item 2b
renders to
- Item 1
- Item 2
- Item 2a
- Item 2b
Ordered
Raw script below
1. Item 1
2. Item 2
2a. Item 2a
2b. Item 2b
renders to
- Item 1
- Item 2
- Item 2a
- Item 2b
block code
new lineblock code
from django.urls import path urlpatterns = [ {path=('', view.index, name='index')} ]
bold
Links
You can even link to Google!
Images
References
https://www.markdownguide.org/basic-syntax/#lists
https://guides.github.com/features/mastering-markdown/
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet