VOOZH about

URL: https://qiita.com/risagon/items/7d75c221d672b94d4481

⇱ Markdownでtable作ってもうまく表示できない時 #初心者 - Qiita


👁 Image
40

Go to list of users who liked

22

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

More than 5 years have passed since last update.

@risagonin👁 Image
Shinonome, inc.

Markdownでtable作ってもうまく表示できない時

40
Last updated at Posted at 2016-11-23

Atomでは表示できたのに

Atomはtableを以下のように書いてもMarkdown Previewで表をうまく表示できます。

README.md
|Title|Type|Description|
|:-|:-|:-|
|table|string|テーブルを表示したい|

しかしこれだと、GitHubではうまく表を表示してくれません。Qiitaでも表示してくれないみたいですね。
Markdown Cheatsheetによれば、
tableを書きたいときはヘッダーのそれぞれのセルに最低3つダッシュが必要だそうです。

README.md
|Title|Type|Description|
|:---|:---|:---|
|table|string|テーブルを表示したい|

これでGitHubやQiitaでも表を表示できるようになります!

Title Type Description
table string テーブルを表示したい

参考サイト

Markdown Cheatsheet · adam-p/markdown-here Wiki

40

Go to list of users who liked

22
0

Go to list of comments

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
40

Go to list of users who liked

22