如何在 Bitbucket 中降价嵌套列表项?
How to markdown nested list items in Bitbucket?
我正在尝试查看在浏览器中从 Bitbucket 页面实时查看时以相应缩进呈现的降价嵌套列表项。但我无法弄清楚它是如何工作的,即使在使用 their examples (updated):
* Item 1
* Item 2
* Item 3
* Item 3a
* Item 3b
* Item 3c
它忽略项目 3a-c 的缩进:
我希望它看起来像这样(语法在 SE 和 Github 上工作得很好):
他们的list in list例子特别不能接受:
1. Step 1
2. Step 2
3. Step 3
* Item 3a
* Item 3b
* Item 3c
这是a repo我专门为此设置的。
使用 4 个空格。
# Unordered list
* Item 1
* Item 2
* Item 3
* Item 3a
* Item 3b
* Item 3c
# Ordered list
1. Step 1
2. Step 2
3. Step 3
1. Step 3.1
2. Step 3.2
3. Step 3.3
# List in list
1. Step 1
2. Step 2
3. Step 3
* Item 3a
* Item 3b
* Item 3c
这是来自更新后的 repo 的屏幕截图:
即使是一个 space 也能工作
...只需打开此答案进行编辑即可查看。
Nested lists, deeper levels:
---- leave here an empty row
* first level A item - no space in front the bullet character
* second level Aa item - 1 space is enough
* third level Aaa item - 5 spaces min
* second level Ab item - 4 spaces possible too
* first level B item
嵌套列表,更深层次:
- 一级A项-项目符号前面没有space
- 二级Aa物品-1个space就够了
- 三级 Aaa 项目 - 5 space秒分钟
- 二级 Ab 项目 - 4 space 也可能
一级B项
Nested lists, deeper levels:
...Skip a line and indent eight spaces. (as said in the editor-help, just on this page)
* first level A item - no space in front the bullet character
* second level Aa item - 1 space is enough
* third level Aaa item - 5 spaces min
* second level Ab item - 4 spaces possible too
* first level B item
可能性
- 可以将 bulleted-unnumbered 列表嵌套到更高编号的列表中。
- 但是在bulleted-unnumbered列表中,自动编号的列表不会启动:不支持。
- 要在 bulleted-unnumbered 之后开始一个新的编号列表,在它们之间放一段文字,或者一个副标题:新的编号列表不能在项目符号后面开始:解释器不会开始编号.
在实践中
- 狗
- 德国牧羊犬 - 只有一只 space 领先。
2. 比利时牧羊犬 - 最多领先 4 space秒。
- 一行前面的数字被解释为“编号项目符号”,因此进行了缩进。
* ..并忽略写入的数字:Places/generates 它自己的,符合结构。
* 所以只使用“1”来获取编号列表是可以的。
* 或任何整数,甚至更多的数字:列表编号将以增量 ++1 继续。
* 但是,编号列表中的第一项将被保留,因此第一个前导通常是数字“1”。
- Malinois - 5 spaces 已经达到第 3 级。
- MalinoisB - 5 spaces 已经达到第 3 级。
- Groenendael - 8 spaces 也达到了第 3 级。
- Tervuren - 第 4 级 9 spaces - 有意从“55”开始。
- TervurenB - 在源代码中以“88”编号。
- 猫
- 西伯利亚;
一种。 SiberianA - 问题重现:解释器无法将字母(即此处的“a”)识别为“编号”。
- 没关系,它在源代码中缩进到它的分隔行:这里忽略缩进。
2.暹罗
- 一个。因此手动编写为滥用项目符号、未编号列表的解决方法。
4 个空格 即使在定义列表中也能做到:
Endpoint
: `/listAgencies`
Method
: `GET`
Arguments
: * `level` - bla-bla.
* `withDisabled` - should we include disabled `AGENT`s.
* `userId` - bla-bla.
我正在记录 API 使用 BitBucket Wiki 和定义列表的 Markdown 专有扩展是最令人愉快的(MD 的 table 语法很糟糕,成像多行和嵌入要求...)。
这在 Bitbucket Cloud 中对我有用。
正在输入:
* item a
* item b
** item b1
** item b2
* item3
我知道了:
我正在尝试查看在浏览器中从 Bitbucket 页面实时查看时以相应缩进呈现的降价嵌套列表项。但我无法弄清楚它是如何工作的,即使在使用 their examples (updated):
* Item 1
* Item 2
* Item 3
* Item 3a
* Item 3b
* Item 3c
它忽略项目 3a-c 的缩进:
我希望它看起来像这样(语法在 SE 和 Github 上工作得很好):
他们的list in list例子特别不能接受:
1. Step 1
2. Step 2
3. Step 3
* Item 3a
* Item 3b
* Item 3c
这是a repo我专门为此设置的。
使用 4 个空格。
# Unordered list
* Item 1
* Item 2
* Item 3
* Item 3a
* Item 3b
* Item 3c
# Ordered list
1. Step 1
2. Step 2
3. Step 3
1. Step 3.1
2. Step 3.2
3. Step 3.3
# List in list
1. Step 1
2. Step 2
3. Step 3
* Item 3a
* Item 3b
* Item 3c
这是来自更新后的 repo 的屏幕截图:
即使是一个 space 也能工作
...只需打开此答案进行编辑即可查看。
Nested lists, deeper levels: ---- leave here an empty row * first level A item - no space in front the bullet character * second level Aa item - 1 space is enough * third level Aaa item - 5 spaces min * second level Ab item - 4 spaces possible too * first level B item
嵌套列表,更深层次:
- 一级A项-项目符号前面没有space
- 二级Aa物品-1个space就够了
- 三级 Aaa 项目 - 5 space秒分钟
- 二级 Ab 项目 - 4 space 也可能
- 二级Aa物品-1个space就够了
一级B项
Nested lists, deeper levels: ...Skip a line and indent eight spaces. (as said in the editor-help, just on this page) * first level A item - no space in front the bullet character * second level Aa item - 1 space is enough * third level Aaa item - 5 spaces min * second level Ab item - 4 spaces possible too * first level B item
可能性
- 可以将 bulleted-unnumbered 列表嵌套到更高编号的列表中。
- 但是在bulleted-unnumbered列表中,自动编号的列表不会启动:不支持。
- 要在 bulleted-unnumbered 之后开始一个新的编号列表,在它们之间放一段文字,或者一个副标题:新的编号列表不能在项目符号后面开始:解释器不会开始编号.
在实践中
- 狗
- 德国牧羊犬 - 只有一只 space 领先。 2. 比利时牧羊犬 - 最多领先 4 space秒。
- 一行前面的数字被解释为“编号项目符号”,因此进行了缩进。
* ..并忽略写入的数字:Places/generates 它自己的,符合结构。
* 所以只使用“1”来获取编号列表是可以的。
* 或任何整数,甚至更多的数字:列表编号将以增量 ++1 继续。
* 但是,编号列表中的第一项将被保留,因此第一个前导通常是数字“1”。
- Malinois - 5 spaces 已经达到第 3 级。
- MalinoisB - 5 spaces 已经达到第 3 级。
- Groenendael - 8 spaces 也达到了第 3 级。
- Tervuren - 第 4 级 9 spaces - 有意从“55”开始。
- TervurenB - 在源代码中以“88”编号。
- Malinois - 5 spaces 已经达到第 3 级。
- 猫
- 西伯利亚; 一种。 SiberianA - 问题重现:解释器无法将字母(即此处的“a”)识别为“编号”。
- 没关系,它在源代码中缩进到它的分隔行:这里忽略缩进。 2.暹罗
- 一个。因此手动编写为滥用项目符号、未编号列表的解决方法。
4 个空格 即使在定义列表中也能做到:
Endpoint
: `/listAgencies`
Method
: `GET`
Arguments
: * `level` - bla-bla.
* `withDisabled` - should we include disabled `AGENT`s.
* `userId` - bla-bla.
我正在记录 API 使用 BitBucket Wiki 和定义列表的 Markdown 专有扩展是最令人愉快的(MD 的 table 语法很糟糕,成像多行和嵌入要求...)。
这在 Bitbucket Cloud 中对我有用。
正在输入:
* item a
* item b
** item b1
** item b2
* item3
我知道了: