マークダウンサンプル

見出し

syntax

1234567891011
# header1ヘッダー1

## header2ヘッダー2

### header3ヘッダー3

#### header4ヘッダー4

##### header5ヘッダー5

###### header6ヘッダー6

output

header1ヘッダー1

header2ヘッダー2

header3ヘッダー3

header4ヘッダー4

header5ヘッダー5
header6ヘッダー6

文字

吾輩は猫である。名前はまだ無い。どこで生れたかとんと見当がつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。吾輩はここで始めて人間というものを見た。しかもあとで聞くとそれは書生という人間中で一番獰悪な種族であったそうだ。この書生というのは時々我々を捕えて煮て食うという話である。しかしその当時は何という考もなかったから別段恐しいとも思わなかった。ただ彼の掌に載せられてスーと持ち上げられた時何だかフワフワした感じがあったばかりである。掌の上で少し落ちついて書生の顔を見たのがいわゆる人間というものの見始であろう。この時妙なものだと思った感じが今でも残っている。第一毛をもって装飾されべきはずの顔がつるつるしてまるで薬缶だ。その後猫にもだいぶ逢ったがこんな片輪には一度も出会わした事がない。のみならず顔の真中があまりに突起している。そうしてその穴の中から時々ぷうぷうと煙を

リンク

syntax

12345
https://wagomu.me/

[輪ごむの空き箱](https://wagomu.me/)

[輪ごむの空き箱](https://wagomu.me/ "輪ごむの空き箱")

output

https://wagomu.me/

輪ごむの空き箱

輪ごむの空き箱

リスト

箇条書き

syntax

12345
- list1リスト1
- list2リスト2
	- ネストしたlist2-1リスト2-1
	- ネストしたlist2-2リスト2-2
- list3リスト3

output

番号付きリスト

syntax

1234
1. 番号付きlist1
2. 番号付きlist2
	1. ネストした番号付きlist2-1
	2. ネストした番号付きlist2-2

output

  1. 番号付きlist1
  2. 番号付きlist2
    1. ネストした番号付きlist2-1
    2. ネストした番号付きlist2-2

引用

syntax

12
> 引用文 inyo
> ですよー

output

引用文 inyo
ですよー

引用文のネスト

syntax

12345
> 引用がネストされることもあります。
>
> > inyo no nest
> >
> > > さらにネスト

output

引用がネストされることもあります。

inyo no nest

さらにネスト

引用と脚注

syntax

1234
> 吾輩は猫である。名前はまだない。
> — <cite>「吾輩は猫である」[^1]</cite>より引用

[^1]: 『吾輩は猫である』(わがはいはねこである)は、夏目漱石の長編小説であり、処女小説である。

output

吾輩は猫である。名前はまだない。
「吾輩は猫である」1より引用

コードブロック

syntax

123456789101112
```html
<!doctype html>
<html lang="ja">
  <head>
    <meta charset="utf-8" />
    <title>Example HTML5 Document</title>
  </head>
  <body>
    <p>Test</p>
  </body>
</html>
```

output

12345678910
<!doctype html>
<html lang="ja">
  <head>
    <meta charset="utf-8" />
    <title>Example HTML5 Document</title>
  </head>
  <body>
    <p>Test</p>
  </body>
</html>

タイトル付きコードブロック

syntax

123
```ts title="sample.ts"
console.log('Hello world.');
```

output

sample.ts
1
console.log('Hello world.');

テーブル

123
456
789

文字の装飾

syntax

1234
|    斜体   | 太字     | 打ち消し線      |  インラインコード  |
| --------- | -------- | --------------- | ------------------ |
| _italics_ | **bold** | ~negative line~ | `code`             |
| _斜体_    | **太字** | ~打ち消し線~    | `インラインコード` |

output

斜体太字打ち消し線インラインコード
italicsboldnegative linecode
斜体太字打ち消し線インラインコード

画像

その他 abbr, sub, sup, kbd, mark

syntax

123456789
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.

H<sub>2</sub>O

X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>

Press <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>Delete</kbd> to end the session.

Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.

output

GIF is a bitmap image format.

H2O

Xn + Yn = Zn

Press CTRL + ALT + Delete to end the session.

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

directive

syntax

123456789101112131415161718
::: tips
のーとだよ
:::

::: warning
のーとだよ
:::


::: info
ふくすうぎょうの
ちっぷす
ふくすうちっぷす
:::

::: note
This is a note.
:::

output


  1. 『吾輩は猫である』(わがはいはねこである)は、夏目漱石の長編小説であり、処女小説である。

Tags