azu / azu/gitbook-plugin-include-codeblock

Breaks ordered list numbering

オープン
#45 コメント 3 件 リアクション 0 件 担当者 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 の ordered-list と include の例を再現し、include されたコードブロックに対する plugin のレンダリングパスを調査します。include の周囲に生成される構造を確認し、画像の場合と比較します。リストが連続したままになり、include されたコードの後で "Last step" が項目 3 としてレンダリングされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
documentation
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。