作为使用Blogdown的帖子的一部分,我将在三列中显示名称列表。我想在RMarkdown文档的每五个名字的组之间添加一个空格。
我每5个名称尝试<br>
,但这仅适用于第一列,也不太优雅。最好的方法是什么?
<style>
.col3 {
columns: 3 100px;
-webkit-columns: 3 100px;
-moz-columns: 3 100px;
}
</style>
<font size = 3>
<div class = "col3">
- Amur Cork
- Apple
- Ash
- Austrian Pine
- Black Cherry
<br>
- Black Maple
- Black Oak
- Black Willow
- Bur Oak
- Callery Pear 'Chanticleer'
<br>
- Carolina Poplar
- Colorado Blue Spruce
- Columnar Norway Maple
- Crab Apple
- Eastern Hemlock
<br>
- European Beech
- Ginkgo
- Hack-Berry
- Honey Locust
- Kentucky-Coffee Tree
<br>
- Linden
- Manitoba Maple
- Maple
- Mulberry
- Norway Maple
<br>
- Oak
- Red (Green) Ash
- Red Maple
- Red Oak
- Sassafras
<br>
- Scotch Elm
- Scots Pine
- Service-Berry
- Siberian Elm
- Silver Maple
<br>
- Silver Queen Silver Maple
- Silver White Poplar
- Skyline Honey Locust
- Sugar Maple
- Tulip-Tree
<br>
- Walnut
- Weeping Willow
- White Ash
- White Oak
- White Pine
<br>
- Willow
- Yew
</div>
答案 0 :(得分:2)
您的前三个 <span v-for="bal in ballance">
<b >
{{bal.paid}}
</b>
</span>
标签有两个尾随空格,呈现后它们显示为
<br>
没有尾随空格:
<li>Black Cherry <br><br>
</li>
您可以在其余 <li>Sassafras <br></li>
标签上添加两个空格,也可以删除所有<br>
标签并用新行分隔列表。