使用Markdown時,在有序列表中嵌套代碼塊引發了有序列表編號中斷(重新從1開始)的問題,最終已解決。
1.問題描述
代碼:
1. title
text
```
code
```
2. title
text
```
code
```
3.問題解決
代碼:
1. title
text
```
code
```
2. title
text
```
code
```
```
code
```
2. title
text
```
code
```
備注:
- 由於Markdown會自動識別自己的語法,所以本例子中的代碼示例是使用HTML直接書寫的。若有辦法使其可以按照代碼格式顯示,請聯系我。
- HTML備注方式:
-
單行注釋
-
html 注釋標簽的詳細介紹
``` 2. 多行注釋 ```html
```