如何在GitHub降价项目符号/列表上删除多余的行空间? [英] How to remove extra line space on GitHub markdown bullets/lists?
本文介绍了如何在GitHub降价项目符号/列表上删除多余的行空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
GitHub降价代码:
The GitHub markdown code:
1. First item
* subitem
1. Second item
在First
,Second
和subitem
之间生成较大的空间:
Generates a big space between the First
, Second
and the subitem
:
如何使subitem
靠近第一项,而不是恰好位于它们的中间?
How to make the subitem
close to the first item, instead of exactly on the middle of them?
这是我用来说明正确输出的Photoshop:
This is a Photoshop I did to illustrate the correct output:
相关问题:
- Multi paragraph list items, OR preventing numbered list auto formatting
- Markdown: Problems with numbered list paragraphs containing code element
推荐答案
您需要使子列表缩进至少4个空格:
You need to indent the sublist with at least 4 spaces:
1. First item
* subitem
2. Second item
这篇关于如何在GitHub降价项目符号/列表上删除多余的行空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文