我想制作一个缩进列表,但我不希望它有要点或数字。我在 RStudio 中使用 Rmarkdown,并编织为 html。
#### bla bla bla
* Example indented line with bullet point
* Another indent with another bullet point
* Yea this is good except for the stupid bullets!
1. Example indented line with numbers
* sure and an indent with a bullet too
2. But there's these stupid numbers now!
two spaces doesn't indent at all
or nest indent with 4
yea still no indent with 2.
four spaces ALSO doesn't indent
just makes some stupid code
why do you hate indents rmd??
这可以通过使用来实现线路块它们内置于 R Markdown 语法中。如果您希望缩进受到尊重,您可以以以下方式开始一行|
.
此方法适用于多种输出格式,并且不需要任何额外的 CSS 样式:
---
output:
html_document: default
pdf_document: default
---
Here is some text with no indentation
| A list
| A sublist
| Sublist Item 2
| Sublist Item 3
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)