MarkDown記法

MarkDownの書き方例

otoshi

目次

# h1 Heading
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading

出力

h1 Heading

h2 Heading

h3 Heading

h4 Heading

h5 Heading
h6 Heading

区切り線


---

---

---

出力




特殊記号


(c) (C) (r) (R) (tm) (TM) (p) (P) +-

出力

© © ® ® ™ ™ § § ±

強調

**This is bold text**
_This is italic text_
~~Strikethrough~~

出力

This is bold text

This is italic text

Strikethrough

引用

> Blockquotes Sample
>
> > Blockquotes Sample
> >
> > > Blockquotes Sample

出力

Blockquotes Sample

Blockquotes Sample

Blockquotes Sample

リスト

- Create a list by starting a line with `+`, `-`, or `*`
- Sub-lists are made by indenting 2 spaces:
  - Marker character change forces new list start:
    - Ac tristique libero volutpat at
    * Facilisis in pretium nisl aliquet
    - Nulla volutpat aliquam velit
- Very easy!

出力

1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa

1) You can use sequential numbers...
1) ...or keep all the numbers as `1.`

出力

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa
  1. You can use sequential numbers…
  2. …or keep all the numbers as 1.

57. foo
1. bar

出力

  1. foo
  2. bar

コード

```javascript
var foo = function (bar) {
  return bar++;
};

console.log(foo(5));
```

出力

var foo = function (bar) {
  return bar++;
};

console.log(foo(5));

テーブル

| Option | Description |
| ------ | ----------- |
| data   | Description |
| engine | Description |
| ext    | Description |

出力

Option Description
data Description
engine Description
ext Description

| Option | Description |
|:------| -----------:|
| datadatadata   | DescriptionDescription |
| engineengineengine | DescriptionDescriptionDescription |
| extextextextextextext    | DescriptionDescriptionDescriptionDescription |

出力

Option Description
datadatadata DescriptionDescription
engineengineengine DescriptionDescriptionDescription
extextextextextextext DescriptionDescriptionDescriptionDescription

リンク

[link text](https://github.com/otoshimtoshi/knowledge)

出力

link text

Autoconverted link https://github.com/otoshimtoshi/knowledge (enable linkify to see)

出力

Autoconverted link https://github.com/otoshimtoshi/knowledge (enable linkify to see)

使っているプラグイン

1. markdown-it-mark

==Marked text==

出力

Marked text

2. markdown-it-footnote

Footnote 1 link[^first].

Inline footnote^[Text of inline footnote] definition.

Duplicated footnote reference[^three].

Footnote 1 link[1].

Inline footnote[2] definition.

Duplicated footnote reference[3].


  1. Footnote can have markup ↩︎

  2. Text of inline footnote ↩︎

  3. Footnote text. ↩︎