bahmutov / bahmutov/markdown-search-scraper

Only create content records

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

Description

and avoid intermediate level records, so that output is something like:

```
{
"content": "Heading 1 Summary Lorem ipsum dolor sit amet",
"hierarchy": {
"lvl0": "Chapter 1",
"lvl1": "Heading 1",
"lvl2": null,
}

{
"content": "Heading 2 Summary Lorem ipsum dolor sit amet",
"hierarchy": {
"lvl0": "Chapter 1",
"lvl1": "Heading 2",
"lvl2": null,
}

{
"content": "Heading 3 Summary Lorem ipsum dolor sit amet",
"hierarchy": {
"lvl0": "Chapter 1",
"lvl1": "Heading 3",
"lvl2": null,
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Markdown-to-Algolia record generation described by the repository; compare its current records with the example in this issue. Done means output contains only content records with the requested hierarchy and no intermediate-level records.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
search
Issue type
Feature
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.