azu / azu/gitbook-plugin-include-codeblock

Breaks ordered list numbering

未關閉
#45 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug Patch Welcome
主要語言
JavaScript
星號
40
分支
25
PR 合併指標
30 天內沒有已合併 PR

描述

I'm trying to do an include in the middle of a sequence of steps:

```
1. Some step

![Some Screenshot](path/to/image.png)

2. Next step

[include](../path/to/file.js)

3. Last step
```

The image gets included without breaking the numbering. But the include makes "Last step" closes the preceding list with ``, then inserts a `

`, then starts a new `
    `.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

重現 issue 中的有序列表和 include 範例,並檢查 plugin 對所包含程式碼區塊的渲染路徑。驗證 include 周圍產生的結構,並將其與圖片情況進行比較。當列表保持連續,且 "Last step" 在所包含的程式碼之後以第 3 個項目渲染時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
documentation
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。