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.
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.README.md
table..prettierrc
file to enforce more consistent styling across development environments.html-to-doc.js
file, more specifically, a refactor of thegetSectionHeaders
function.html-to-doc.js
file.