【发布时间】:2018-09-26 07:46:30
【问题描述】:
如何在 rmarkdown flexdashboard 文档中为文本创建漂亮的边距? Their manual site 是使用 flexdashboard 创建的,文本很好地跨越了中间的可读区域,并且没有到达屏幕的两侧。边距很好地适应浏览器窗口的宽度。尽管多次尝试指定{data-width} 和{data-padding},但我无法重现此行为。我的文本总是从一边到另一边,这在宽浏览器窗口中看起来不太好。示例 Rmd 文件:
---
title: "Text width problem"
output:
flexdashboard::flex_dashboard:
orientation: rows
---
I'd like this text to have margins on the sides. I'd like this text to have
margins on the sides. I'd like this text to have margins on the sides. I'd
like this text to have margins on the sides. I'd like this text to have
margins on the sides. I'd like this text to have margins on the sides. I'd
like this text to have margins on the sides. I'd like this text to have
margins on the sides. I'd like this text to have margins on the sides. I'd
like this text to have margins on the sides. I'd like this text to have
margins on the sides. I'd like this text to have margins on the sides. I'd
like this text to have margins on the sides. I'd like this text to have
margins on the sides.
【问题讨论】:
标签: r r-markdown flexdashboard