このMarkdownチートシートは@higeknuckleが個人的な学習と活用のために作成しました。
Github Flavored Markdownを扱っています。
https://guides.github.com/features/mastering-markdown/ を日本語訳したものがベースになっています。
要素 | Markdown記法 | 表示 |
---|---|---|
見出し | # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 |
(以下省略) |
太字 | **bold text** | bold text |
斜体字 | *italic text* | italic text |
順序なしリスト | - First item - Second item - Third item |
|
順序ありリスト | 1. First item 2. Second item 3. Third item |
|
画像 |  | (省略) |
リンク | [title](https://www.example.com) | title |
引用 | > blockquote line1 > blockquote line2 |
blockquote line1 |
コード | `this is inline code` | this is inline code |
区切り線 | --- |
要素名のリンクをクリックして表示結果を確認
要素 | Markdown記法 |
---|---|
シンタックスハイライト | ```javascript { "firstName": "John", "lastName": "Smith", "age": 25 } ``` |
タスクリスト | - [x] Write the press release - [ ] Update the website - [ ] Contact the media |
表 | Header1 | Header2 | Header 3 |
コミットSHAへのリンク (Issues/Pull Requests限定) |
16c999e8c71134401a78d4d46435517b2271d6ac higeknuckle@16c999e8c71134401a78d4d46435517b2271d6ac higeknuckle/markdown-cheatsheet@16c999e8c71134401a78d4d46435517b2271d6ac |
Issueへのリンク (Issues/Pull Requests限定) |
#1 higeknuckle#1 higeknuckle/markdown-cheatsheet#1 |
@ユーザ名へのメンション (Issues/Pull Requests限定) |
@higeknuckle |
URLの自動リンク化 | (URLは自動でリンクに変換される) |
打ち消し線 | ~~The world is flat.~~ |
- Mastering Markdown - GitHub Guides https://guides.github.com/features/mastering-markdown/
- Markdown Cheat Sheet - Markdown Guide https://www.markdownguide.org/cheat-sheet/
気が向いたらmattcone/markdown-guideに日本語訳のプルリク送ってみるのも良いかもしれない。