Rapporter / pander

An R Pandoc Writer: Convert arbitrary R objects into markdown

Home Page:http://rapporter.github.io/pander/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

want table with image and line.break at the same time

opened this issue · comments

I was generating a table with Rmarkdown driven by pander.

It support image inside table which is pretty good.

Now I want to have text in one cell to be splitted with line breaks.

I have tried to add panderOptions('keep.line.breaks', TRUE) but seems not work.

Can someone let me know if it support and how please?

Try using hard line breaks (e.g. \\) inside grid tables. Search for "hard line break" at https://pandoc.org/MANUAL.html

Try using hard line breaks (e.g. \\) inside grid tables. Search for "hard line break" at https://pandoc.org/MANUAL.html

It works~