Skip to content

Commit 8395bff

Browse files
committed
[zh] Fix note shortcode rendering in list
1 parent d3d3f08 commit 8395bff

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

content/zh-cn/docs/contribute/style/style-guide.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,12 +762,13 @@ The output is:
762762

763763
1. 在列表中使用 note 短代码
764764

765-
1. 带嵌套 note 的第二个条目
765+
2. 带嵌套 note 的第二个条目
766766

767-
{{< note >}}
768767
<!--
769768
Warning, Caution, and Note shortcodes, embedded in lists, need to be indented four spaces. See [Common Shortcode Issues](#common-shortcode-issues).
770769
-->
770+
771+
{{< note >}}
771772
警告、小心和注释短代码可以嵌套在列表中,但是要缩进四个空格。
772773
参见[常见短代码问题](#common-shortcode-issues)
773774
{{< /note >}}
@@ -777,9 +778,9 @@ The output is:
777778
778779
1. A fourth item in a list
779780
-->
780-
1. 列表中第三个条目
781+
3. 列表中第三个条目
781782

782-
1. 列表中第四个条目
783+
4. 列表中第四个条目
783784

784785
<!--
785786
### Caution

0 commit comments

Comments
 (0)