Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further develop the data-search-children functionality #117

Merged
merged 14 commits into from
Sep 16, 2023

Conversation

Jeandcc
Copy link
Contributor

@Jeandcc Jeandcc commented Sep 7, 2023

This PR aims at improving the features added in this commit.

The initial implementation worked by indexing only the immediate children of the element that had the data-search-children attribute. This PR builds on top of that behavior, and now indexes all heading elements under that element with the attribute, not mattering if they are direct or indirect children (E.g. children/grandchildren).

Alongside the code that handles the main purpose of this PR, this PR contains:

  • README.md updates.
  • Auto-formatting of README.md table.
  • Codebase version bump (now 2.4.3).
  • Addition of a .prettierrc file to enforce more consistent styling across development environments.
  • A minor refactor of the html-to-doc.js file, more specifically, a refactor of the getSectionHeaders function.
  • Auto-formatting of html-to-doc.js file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants