10
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Markdown—コードブロックの中にコードブロックを書く (バッククォートのエスケープを諦めて)

Last updated at Posted at 2018-08-12

方法1

  • 「行頭スペース4個」スタイル のコードブロックを使う
  • その中に「バッククォート記法」のコードブロックを書く

記入の例

image

表示の例

```
echo alice
echo bob
```

方法2

  • バッククォートの数を調整する
    • たとばバッククォート4個のブロックで、バッククォート3個のブロックを挟む
  • Qiitaは対応していない様子

Github Gist で試してみる。

記入の例

image.png

表示の例

image.png

関連

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

10
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?