Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 1.55 KB

example.md

File metadata and controls

70 lines (44 loc) · 1.55 KB
title author date
CSV to Pandoc Markdown Tables
Wasif Baig
May 08, 2015

All tables in this document have been generated by post-processing through pandoc-csv2table-filter.

Simple Table

You can include inline markdown in your csv file. It will be parsed by the pandoc markdown reader. You can also specify column alignments in the configuration string.

A simple table. sycr

Multiline Table

It allows cell contents to span multiple lines, unlike simple table.

A multiline table. mccr

Grid Table

It lets you inlcude block markdown as well, unlike multiline tables. However, it does not support column alignments. Every column is default-aligned.

A sample Grid Table. gycccccc

Pipe Table

It is like a simple table feature-wise.

Demonstration of pipe table syntax. prldc

Final Words

You only need either a multiline table or a grid table. Multiline tables allow control over column alignments. Grid tables allow inclusion of block level elements.

License

pandoc-csv2table-filter

The MIT License

Copyright © 2015 Wasif Hasan Baig [email protected]

Acknowledgements

Thanks to John MacFarlane for creating Pandoc.