html_document
输出的解决方案不适用于ioslides_presentation
输出。如何在特定位置强制更改标题?
html_document
输出的解决方案会产生非常奇怪的结果。
---
title: |
| This is an extremely long title
| with a desired line break at a
| specific location
output: ioslides_presentation
---
答案 0 :(得分:5)
好吧,我自己也搞清楚了。您可以在标题中添加html
标记,例如<br>
。这有效:
---
title: This is an extremely long <br> title with a <br> desired
line break <br> at a specific <br> location
output: ioslides_presentation
---