如何在我的针织 html 在 rstudio 中有两条线 header
How to have a two line header in my knitted html in rstudio
我想限制我在 r studio 中的字符长度,我的一个主题很长 header。我想把 header 分成两行,但编织成 header.
后仍然显示在 html 中
我的标题是:Animals in the region are getting declawed and slain.
r studio 目前是这样的:
Animals in the region are getting \
declawed and slain.
我的问题是,在 html 中,它显示“该地区的动物正在”作为 header“并被去爪和杀死”。作为普通文本。
请问如何解决,谢谢。
您可以使用 <br>
标签来表示 html 输出的新行。请注意,在提问时提供一些可重现的代码是一种很好的做法,因为这样可以让人们更容易回答。
---
title: "Animals in the region are getting <br> declawed and slain."
output:
html_document:
df_print: paged
---
### Animals in the region are getting <br> declawed and slain.
我想限制我在 r studio 中的字符长度,我的一个主题很长 header。我想把 header 分成两行,但编织成 header.
后仍然显示在 html 中我的标题是:Animals in the region are getting declawed and slain.
r studio 目前是这样的:
Animals in the region are getting \
declawed and slain.
我的问题是,在 html 中,它显示“该地区的动物正在”作为 header“并被去爪和杀死”。作为普通文本。
请问如何解决,谢谢。
您可以使用 <br>
标签来表示 html 输出的新行。请注意,在提问时提供一些可重现的代码是一种很好的做法,因为这样可以让人们更容易回答。
---
title: "Animals in the region are getting <br> declawed and slain."
output:
html_document:
df_print: paged
---
### Animals in the region are getting <br> declawed and slain.