azu / azu/gitbook-plugin-include-codeblock

Breaks ordered list numbering

Open
#45 3 comments 0 reactions 0 assignees View on GitHub
bug Patch Welcome
Dominant language
JavaScript
Stars
40
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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 `
    `.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the ordered-list and include example from the issue and inspect the plugin's rendering path for included code blocks. Verify the generated structure around the include and compare it with the image case. Done means the list remains continuous, with "Last step" rendered as item 3 after the included code.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.