Markdown記法(1/2)

Markdownとは

Markdownは軽量なマークアップ言語
GitHubのREADMEやREDMINEに使用されている

記法

見出し / Headers

# : シャープマーク

Markdown HTML
# Header <h1> Header </h1>
## Header <h2> Header </h2>
### Header <h3> Header </h3>
#### Header <h4> Header </h4>
##### Header <h5> Header </h5>

リスト / List

* : アスタリスク

Markdown HTML
* List1 <ul><li>List1</li><ul>
□□□□* List2 <ul><ul><li>List2</li><ul><ul>
  • List1
    • List2

- : ハイフン

Markdown HTML
- List1 <ul><li>List1</li><ul>
□□□□- List2 <ul><ul><li>List2</li><ul><ul>
  • List1
    • List2

+ : プラスマーク

Markdown HTML
+ List1 <ul><li>List1</li><ul>
□□□□+ List2 <ul><ul><li>List2</li><ul><ul>
  • List1
    • List2

1. : 番号

Markdown HTML
1. List1 <ol><li>List1</li></ol>
2. List2 <ol><li>List2</li></ol>
□□□□1. List1 <ol><ol><li>List1</li></ol></ol>
□□□□2. List2 <ol><ol><li>List2</li></ol></ol>
  1. List1
  2. List2
    1. List1
    2. List2

強調(斜体・太字) / Emphasis

* _ : アスタリスク、アンダーバー

Markdown HTML
*Emphasis* <em>Emphasis</em>
_Emphasis_ <em>Emphasis</em>

Emphasis
Emphasis

** __ : 2連続アスタリスク、2連続アンダーバー

Markdown HTML
__Strong__ <strong>Strong</strong>
**Strong** <strong>Strong</strong>
__Super__strong <strong>Super</strong>strong
**Super**strong <strong>Super</strong>strong

Strong
Strong
Superstrong
Superstrong