bahmutov / bahmutov/xplain

Removes code blocks in markdown unless then are separated

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
28
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Test to Markdown problem:

```
### test1

### test2

### test3
```

will be updated to (even if test1, test2 and test3 exist)
to

```
### test3
test3 code block
```

Have to separate individual functions using `---` like this

```
### test1

---
### test2

---
### test3
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Markdown transformation shown in the issue, comparing adjacent headings with and without `---` separators. Trace the JavaScript documentation-generation path that performs this conversion and identify the relevant parser or rendering tests. Done means the three existing sections and their code blocks remain present without requiring separators.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.