On simplifying table syntax in any future markdown extension. (Use CSV)

mofo syne mofosyne at gmail.com
Fri Sep 5 08:47:07 EDT 2014


Wayland, I chose piped headers because I dont want to trigger table
mode when people type paragraphs without fullstops.

e.g.

hellow, this, is a , parapgraph, with
lots, of weird , commas, its not a table

Would get auto converted to a table, if we did not at least have some
sort of "table initialization" header.
Hmmmmm.... would this work? This is csv but with the header's comma
converted to pipes.

  Year    |  Make     |  Model
  1997,      Ford,        E350
  1999,      Chevy,      "Venture ""Extended Edition"""
  1999,      Chevy,      "Venture ""Extended Edition"""
  1996,      Jeep,        Grand Cherokee

-----

Alex, the above table is how I would type in email, if I was copy
pasting a csv file quickly as a table (and in a rush). Also it's how I
would write a desktop txt file that I need to maintain often. It
strikes a balance between legibility and speed.

On Fri, Sep 5, 2014 at 10:27 PM, Alex Chamberlain
<alex at alexchamberlain.co.uk> wrote:
> Would you use CSV in a plain text email (to represent a table)?
>
> On 5 September 2014 13:24, Waylan Limberg <waylan.limberg at icloud.com> wrote:
>>
>>
>>> On Sep 5, 2014, at 5:28 AM, mofo syne <mofosyne at gmail.com> wrote:
>>>
>>> The second issue, is that people find it hard to have to deal with
>>> formatting the pipes. If alignment of cell data is of no concern to
>>> the user, then we should use CSV data as the inspiration.
>>
>> I've long been (openly) of the opinion that tables are not prose, and therefore do not belong in markdown - except to fall back to raw HTML (see the philosophy section of the syntax rules). On the other hand, I recognize that sometimes a simple, unstyled table of simple tabular data has it's place and having to revert to raw HTML is a little much. So, CSV -- I like it. Plain, raw cvs gets converted to a table. That is something I might be able to get behind.
>>
>> Not sure I like your headers though. Why can't they be comma separated as well? Perhaps one character (at the beginning of the first line) could identify that line as a header. Without that character, then you get no header. Yes, that means you loose any ability to style, but I'm okay with that -- use raw HTML if you want more control.
>>
>> Waylan Limberg
>> _______________________________________________
>> Markdown-Discuss mailing list
>> Markdown-Discuss at six.pairlist.net
>> http://six.pairlist.net/mailman/listinfo/markdown-discuss
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss


More information about the Markdown-Discuss mailing list