Am Montag, 30. Mai 2016 09:47:50 UTC+2 schrieb mb21:
Well, in the end it is the pandoc markdown writes that is used to generate the tables, so you're on the right track with -t markdown+multiline_tables. However, unfortunately the logic is a bit more complicated, see https://github.com/jgm/pandoc/blob/master/src/Text/Pandoc/Writers/Markdown.hs#L444. Since all table-options are enabled by default, you have to turn OFF the kind of tables you don't want

Aaaaaahhhh... (and now I even vaguely remember that I had stumbled across this item before, but my leaky brain + memory had forgotten it again for good.

Thanks for the reminder. I'll have to re-visit this topic again in the near future.
 
, e.g. to get pipe-tables: pandoc --filter pandoc-placetable -t markdown-simple_tables
I agree that this is not optimal, but this behaviour should be changed in the markdown writer, not the filter...

On Sunday, May 29, 2016 at 5:59:49 PM UTC+2, kurt.p...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org wrote:

Am Sonntag, 29. Mai 2016 14:45:35 UTC+2 schrieb mb21:

@Kurt, pandoc-placetable works perfectly to convert csv to markdown table syntax (and any other output format where pandoc supports generating tables): 
pandoc --filter pandoc-placetable -t markdown

Sorry, I did not intend to mis-represent what pandoc-placetable currently can do and what it cannot.

I know it can convert to Markdown tables. But (AFAIU) it can generate only one type of table: simple_table.
However, with pandoc-csv2table I can generate simple_table, multiline_table, pipe_table and grid_table types — simply by adding it into the code block metadata: {.table header="yes" type="grid" ....}.

I tried to get the same thing with pandoc --filter pandoc-placetable -t markdown+multiline_tables, but it didn’t work.

(Maybe I’m missing something — then please tell me.)

 

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3a313532-aefb-4eb0-b9c5-88065cd8c85a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.