We have several {{< embed >}} blocks across our documentation, some of which reference the outputs of running the tree command on certain folders. The tree output contains a bunch of names and terms that are used frequently across different areas of our product. If we happen to search for one of the terms that matches a directory of the tree output, we get a bunch of irrelevant results. For example, let's say I search for enumerations:
The page includes references to an enumerations folder, but the page itself isn't about enumerations.
I'd like the ability to add a class to a div or a span block and have Quarto strip that block out before it enters search.json.
Our use case:
We have several
{{< embed >}}
blocks across our documentation, some of which reference the outputs of running thetree
command on certain folders. Thetree
output contains a bunch of names and terms that are used frequently across different areas of our product. If we happen to search for one of the terms that matches a directory of thetree
output, we get a bunch of irrelevant results. For example, let's say I search for enumerations:The page includes references to an
enumerations
folder, but the page itself isn't about enumerations.I'd like the ability to add a class to a
div
or aspan
block and have Quarto strip that block out before it enterssearch.json
.