33
20

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 5 years have passed since last update.

Markdownのtable記述でのエスケープ

Posted at

Markdownのtable記述の|問題

Markdownでテーブルを書いてる時にドキュメントの内容に|が入っていて、テーブルの区切りと認識されてしまう時には、|を|に置き換えることで正常に表示されるようになる。

素直に書いてみる

| カラム1 | カラム2 |
|-------|------|
| これ|それ | あれ|これ |
カラム1 カラム2
これ それ

エスケープしてみる

| カラム1 | カラム2 |
|-------|------|
| これ|それ | あれ|これ |
カラム1 カラム2
これ|それ あれ|これ
33
20
4

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
33
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?