- Notifications
You must be signed in to change notification settings - Fork6.4k
Markdown Cheatsheet for Github Readme.md
License
tchapi/markdown-cheatsheet
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Markup :
# Heading 1Alternative markup :
============= (below H1 text)Markup :
## Heading 2Alternative markup :
--------------- (below H2 text)Markup :
### Heading 3Markup :
#### Heading 4Common text
Markup :
Common textEmphasized text
Markup :
_Emphasized text_ or *Emphasized text*Strikethrough text
Markup :
~~Strikethrough text~~Strong text
Markup :
__Strong text__ or **Strong text**Strong emphasized text
Markup :
___Strong emphasized text___ or ***Strong emphasized text***Named Link andhttp://www.google.fr/ orhttp://example.com/
Markup :
[Named Link](http://www.google.fr/ "Named link title") and http://www.google.fr/ or <http://example.com/>Link to heading orLink to section
Markup:
[Link to heading](#heading-1 "Goto heading-1") or [Link to section](#TOP)A standard table
| First Header | Second Header |
|---|---|
| Content Cell | Content Cell |
| Content Cell | Content Cell |
Markup :
First Header | Second Header------------- | -------------Content Cell | Content CellContent Cell | Content CellAdding a pipe| in a cell :
| First Header | Second Header |
|---|---|
| Content Cell | Content Cell |
| Content Cell | | |
Markup :
First Header | Second Header------------- | -------------Content Cell | Content CellContent Cell | \|Left, right and center aligned table
| Left aligned Header | Right aligned Header | Center aligned Header |
|---|---|---|
| Content Cell | Content Cell | Content Cell |
| Content Cell | Content Cell | Content Cell |
Markup :
Left aligned Header | Right aligned Header | Center aligned Header| :--- | ---: | :---:Content Cell | Content Cell | Content CellContent Cell | Content Cell | Content CellInline code
code()
Markup :
`code()`Code block
varmyGreatVariable='test'
Markup :
```javascriptvar myGreatVariable = 'test'```Unordered list
- Bullet list
- Nested bullet
- Sub-nested bullet etc
- Nested bullet
- Bullet list item 2
Markup :
* Bullet list * Nested bullet * Sub-nested bullet etc* Bullet list item 2Alternative markup :
- Bullet list - Nested bullet - Sub-nested bullet etc- Bullet list item 2Numbered list
- A numbered list
- A nested numbered list
- Which is numbered
- Which is numbered
Markup :
1. A numbered list 1. A nested numbered list 2. Which is numbered2. Which is numberedAlternative markup (the numbering is automatic):
1. A numbered list 1. A nested numbered list 1. Which is numbered1. Which is numberedTask list
- An uncompleted task
- A completed task
- A subtask
Markup :
- [ ] An uncompleted task- [x] A completed task - [ ] A subtaskBlockquote
Nested blockquote
Markup :
> Blockquote>> Nested BlockquoteFootnotes (see end of README)
Here is a simple footnote1.
A footnote can also have multiple lines2.
Markup :
Here is a simple footnote[^1].A footnote can also have multiple lines[^2].[^1]: My reference.[^2]: To add line breaks within a footnote, Add a carriage return and prefix the new line with 4 spaces. This is a second line.Image with alt :
Markup :
Emoji
❗ Use emoji icons to enhance text. 👍 Look up emoji codes atemoji-cheat-sheet.com
Markup (Emoji slug should appear between colons):
:+1: :exclamation:Note
Highlights information that users should take into account, even when skimming.
Markup :
> [!NOTE] > Highlights information that users should take into account, even when skimming.Tip
Optional information to help a user be more successful.
Markup :
> [!TIP]> Optional information to help a user be more successful.Important
Crucial information necessary for users to succeed.
Markup :
> [!IMPORTANT] > Crucial information necessary for users to succeed.Warning
Critical content demanding immediate user attention due to potential risks.
Markup :
> [!WARNING] > Critical content demanding immediate user attention due to potential risks.Caution
Negative potential consequences of an action.
Markup :
> [!CAUTION]> Negative potential consequences of an action.Foldable text
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Markup :
<details> <summary>Title 1</summary> <p>Lorem ipsum dolor sit amet, ...</p></details>Hotkey
⌘F
Markup :
<kbd>⌘F</kbd>Hotkey symbols handy list below
| Key | Symbol | Key | Symbol |
|---|---|---|---|
| Option | ⌥ | Power | ⌽ |
| Control | ⌃ | Return | ↩ |
| Command | ⌘ | Delete | ⌫ |
| Shift | ⇧ | Up | ↑ |
| Caps Lock | ⇪ | Down | ↓ |
| Tab | ⇥ | Left | ← |
| Esc | ⎋ | Right | → |
Horizontal line
Markup :
- - - -Inline mathematical equation
Markup :
$F(x) = \int^a_b \frac{1}{3}x^3$Block mathematical equation
Markup :
$$P \left( A=2 \, \middle| \, \dfrac{A^2}{B}>4 \right)$$Footnotes
About
Markdown Cheatsheet for Github Readme.md
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors15
Uh oh!
There was an error while loading.Please reload this page.