Follow

@freemo @radehi

Markdown Tables

It looks like the tables need some work. The width is not handled properly:

Right Left Center
Computer $1600 one
Phone $12 three
Pipe $1 eleven

@freemo @radehi

Sorry, false alarm. The extra dashes are ignored. Width is set by the content, generally.

Show thread

@rmerriam @freemo Interesting! Markdown doesn’t have tables. Even CommonMark doesn’t have tables. GLFM and GFM do.

But apparently ’s pseudo-Markdown does too! The widths look fine to me, they just need some cell padding. And the alignment is wrong.

@radehi @freemo

Most of the Markdown I’ve used has tables. I used the Bitbuket markdown page to create a test post.

The table does need padding. The line with the and - sets the width of the column. That’s shown in the screen capture.

Here’s a page with a massive table.

@radehi @freemo

HA! The pipe characters converted my paragraph into a table.

twitter 

@rmerriam if this were twitter surely one of us would be calling the other a Nazi by now

@rmerriam @freemo Interesting. Presumably BitBucket is aping GFM. I didn’t know GFM had syntax for adding padding.

@radehi

Here are the numbers in your toot made to look like a phone number:

1-600-112-3111

@rmerriam @freemo

@rmerriam @freemo But still needs some cell padding for readability.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.