Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Markdown Cheatsheet for Github Readme.md

License

NotificationsYou must be signed in to change notification settings

tchapi/markdown-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

picture alt

📝 Typography

Heading 1

Markup :

# Heading 1

Alternative markup :

============= (below H1 text)

Heading 2

Markup :

## Heading 2

Alternative markup :

--------------- (below H2 text)

Heading 3

Markup :

### Heading 3

Heading 4

Markup :

#### Heading 4

Common text

Markup :

Common text

Emphasized 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)

🧮 Tables

A standard table

First HeaderSecond Header
Content CellContent Cell
Content CellContent Cell

Markup :

First Header  | Second Header------------- | -------------Content Cell  | Content CellContent Cell  | Content Cell

Adding a pipe| in a cell :

First HeaderSecond Header
Content CellContent Cell
Content Cell|

Markup :

First Header  | Second Header------------- | -------------Content Cell  | Content CellContent Cell  |  \|

Left, right and center aligned table

Left aligned HeaderRight aligned HeaderCenter aligned Header
Content CellContent CellContent Cell
Content CellContent CellContent Cell

Markup :

Left aligned Header | Right aligned Header | Center aligned Header| :--- | ---: | :---:Content Cell  | Content Cell | Content CellContent Cell  | Content Cell | Content Cell

👩‍💻 Code

Inline code

code()

Markup :

`code()`

Code block

varmyGreatVariable='test'

Markup :

```javascriptvar myGreatVariable = 'test'```

📜 Lists

Unordered list

  • Bullet list
    • Nested bullet
      • Sub-nested bullet etc
  • Bullet list item 2

Markup :

* Bullet list    * Nested bullet        * Sub-nested bullet etc* Bullet list item 2

Alternative markup :

- Bullet list    - Nested bullet        - Sub-nested bullet etc- Bullet list item 2

Numbered list

  1. A numbered list
    1. A nested numbered list
    2. Which is numbered
  2. Which is numbered

Markup :

1. A numbered list    1. A nested numbered list    2. Which is numbered2. Which is numbered

Alternative markup (the numbering is automatic):

1. A numbered list    1. A nested numbered list    1. Which is numbered1. Which is numbered

Task list

  • An uncompleted task
  • A completed task
    • A subtask

Markup :

- [ ] An uncompleted task- [x] A completed task    - [ ] A subtask

🗣️ Quoting

Blockquote

Nested blockquote

Markup :

> Blockquote>> Nested Blockquote

Footnotes (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.

🖼️ Media / Emojis

Image with alt :

picture alt

Markup :

![picture alt](https://placehold.co/600x200 "Title is optional")

Emoji

❗ Use emoji icons to enhance text. 👍 Look up emoji codes atemoji-cheat-sheet.com

Markup (Emoji slug should appear between colons):

:+1: :exclamation:

⁉️ Alerts

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.

💬 Misc

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

KeySymbolKeySymbol
OptionPower
ControlReturn
CommandDelete
ShiftUp
Caps LockDown
TabLeft
EscRight

Horizontal line


Markup :

- - - -

Inline mathematical equation$F(x) = \int^a_b \frac{1}{3}x^3$

Markup :

$F(x) = \int^a_b \frac{1}{3}x^3$

Block mathematical equation

$$P \left( A=2 , \middle| , \dfrac{A^2}{B}>4 \right)$$

Markup :

$$P \left( A=2 \, \middle| \, \dfrac{A^2}{B}>4 \right)$$

Footnotes

  1. A 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.

About

Markdown Cheatsheet for Github Readme.md

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors15


[8]ページ先頭

©2009-2025 Movatter.jp