Closed Dris101 closed 9 years ago
Thanks for reporting this, much appreciated. A quick addition: this only happens if we have a one-liner multiline
table without a header, e.g.:
> pander(unname(data.frame(a = 'lorem ipsum', b = 'foobar')), style = 'multiline', split.cells = 5)
----- ------
lorem foobar
ipsum
----- ------
versus
> pander(unname(data.frame(a = c('lorem', 'ipsum'), b = 'foobar')), style = 'simple', split.cells = 5)
----- ------
lorem foobar
ipsum foobar
----- ------
As per the
pandoc
docs, a single line multi-table should have a blank line before the row of dashes that ends the table, otherwise the table may be interpreted as a simple table. (see the docs for themultiline_tables
extension)