m->d: Table formatting could be improved #25

Closed
opened 2024-01-11 10:12:28 +00:00 by cadence · 2 comments
Owner

Currently, tables are bridged as rows of sans-serif text and columns are separated by pipe characters, so they aren't aligned with each other.

Discord doesn't support displaying tables, but it does support code blocks as a way to align text. Here are some possible renderings for tables that are small enough width:

Column 1   Column 2   Column 3
------------------------------
Apple      Banana     Cherry
Aardvark   Bee        Crocodile

or

Column 1 Column 2 Column 3
Apple Banana Cherry
Aardvark Bee Crocodile

Currently, tables are bridged as rows of sans-serif text and columns are separated by pipe characters, so they aren't aligned with each other. Discord doesn't support displaying tables, but it does support code blocks as a way to align text. Here are some possible renderings for tables that are small enough width: ``` Column 1 Column 2 Column 3 ------------------------------ Apple Banana Cherry Aardvark Bee Crocodile ``` or <u>`Column 1`</u> <u>`Column 2`</u> <u>`Column 3 `</u> `Apple ` `Banana ` `Cherry ` `Aardvark` `Bee ` `Crocodile`
Author
Owner

Discord changed how inline code got styled in their latest redesign, where each inline code element gets a border. So I have to go with the first option for it to look good now.

Discord changed how inline code got styled in their latest redesign, where each inline code element gets a border. So I have to go with the first option for it to look good now.
Author
Owner

Done in 890e80854f

Done in 890e80854f97881b1d690991c7dccb6d67fb887a
Sign in to join this conversation.
No labels
blocking
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cadence/out-of-your-element#25
No description provided.