public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* How you markup tables?
@ 2022-09-01 10:49 name name
  0 siblings, 0 replies; only message in thread
From: name name @ 2022-09-01 10:49 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1470 bytes --]

Somewhat a quiz about how to markup tables.

Here is a table and how I would markup it:

~~~
centered, default, right, right:

-----------------  ------           ----------  ---
 ceeeeeeeeeell 1   cell 2            1,000,000         50
 cell 5            ceeeeeeeeeell 6          50  1,000,000
-----------------  ------           ----------  ---
~~~

The subject of my interest is column 4.

I would align numbers to the right and use 3 hyphens because the number 50 
consists of 2 digits,  and therefore using 3 hyphens is consistent with the 
logic of using 17 hyphens in the 1st column and 10 hyphens in the 3rd 
column. Although technically it is sufficient to use only 1 hyphen there:

~~~
centered, default, right, right:

-----------------  ------           ----------  -
 ceeeeeeeeeell 1   cell 2            1,000,000         50
 cell 5            ceeeeeeeeeell 6          50  1,000,000
-----------------  ------           ----------  -
~~~

What is the easiest to understand, to remember, and to maintain way to 
markup such tables? What you think?

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/fbc5c142-f32c-4ce5-9713-ffe4aef944fcn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2404 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-01 10:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-01 10:49 How you markup tables? name name

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).