[X] I have not modified the README.md file. Projects are only supposed to be added or updated within the projects.yaml file since the README.md file is automatically generated.
I noticed it uses BeautifulSoup to parse the HTML, modify it, and re-dump it. This is highly inefficient in a MkDocs setup (not blaming anyone, it's just how it is). The efficient way of doing this is with a Markdown extension that operates on the HTML (converted from Markdown) directly, to avoid re-parsing and re-dumping by each plugin. It would use a TreeProcessor (I'll let you look at their docs if you're interested in the switch). Note that a Markdown extension would only work on hard-coded tables, or tables generated by other Markdown extensions, but not table generated by other MkDocs plugins, so the switch might not be possible depending on your use-case.
Your README mentions removing rows of tables, but after reading the code, to me it looks like it removes columns corresponding to the keyword you specify, not rows: it removes the corresponding cell from the table headers, and the cells at the same index from all rows. So it effectively removes the column (vertical). Or did I misunderstand :relaxed:?
What kind of change does this PR introduce?
Description:
I added the project mkdocs-tablestrip that strips certain table rows from the generated HTML.
Checklist:
README.md
file. Projects are only supposed to be added or updated within theprojects.yaml
file since theREADME.md
file is automatically generated.