我在一个rmarkdown文档中有一个很长的标题,我想在一个特定的位置强制换行.
最起码的例子:
---
title: "Quite long title want the * line break at the asterisk"
output: html_document
---
我try 过:\n、\newline、\和手动换行.它们似乎都不起作用.
我认为这必须非常简单,但我还没有找到解决方案.
我在一个rmarkdown文档中有一个很长的标题,我想在一个特定的位置强制换行.
最起码的例子:
---
title: "Quite long title want the * line break at the asterisk"
output: html_document
---
我try 过:\n、\newline、\和手动换行.它们似乎都不起作用.
我认为这必须非常简单,但我还没有找到解决方案.
try 在每条管线中使用管道|
:
---
title: |
| Veryyyyyyy
| yyyyyyyyyyyyyy Looooo
| oooooooooooooooo
| oooooooooooong
author: "Foo Bar"
date: "6 March 2015"
output: html_document
---