alibaba / alibaba/structure-view

#include in Markdown code-segment

Open
#31 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
35
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Hi,

unfortunately code-segments are parsed to in Markdown, to find the basic headlines. The result is:

# only one Header

``` c
#include
#include Test.h

...
```

results in three headline ...

Regards ...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the Markdown snippet in the report and trace how fenced code segments are parsed for headlines. Done means #include lines inside the fenced C block no longer become structure-view headlines, while the actual heading remains detected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.