dcomtois / summarytools

R Package to Quickly and Neatly Summarize Data
504 stars 77 forks source link

Stat column of dfsummary not formatted correctly #106

Closed lbo34 closed 4 years ago

lbo34 commented 4 years ago

Hi,

I am trying to use dfsummary() inside a R notebook document (I am using OS X). When I knit to HTML, I get the graphs... so I was excited, but the stat columns formatting is weird... see screenshot

image

dcomtois commented 4 years ago

This is a css issue... To display line breaks in multi-line tables, we need to define white-space: pre;. Include it manually as inline html (using style tag), or see documentation on using st_css().

dcomtois commented 4 years ago

Closing for now, if you still encounter problems let me know and will reopen.