You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overall, this is a great plugin.
I've got a bit of an issue though. It appears that search can index html fine (including that in mdx files), however it cannot deep-link to it.
For example, ``/docs/hello` :
## Parent heading
content here
<h3>example</h3>
The expected behaviour result in this example is to link to the parent heading (/docs/hello#parent-heading). This is how normal markdown is linked, as IDs (anchor links) are generated by docusaurus.
The current behaviour is the result links to /docs/hello.
Ideally, if I attach an id to the html heading, eg <h3 id="example">example</h3>, then the search would be able to index that ID and link directly to it (/docs/hello#example).
I realise that headings are treated slightly differently, but basically I want the index to populate the h if it exists on the element. Here's what currently happens in the index:
Overall, this is a great plugin.
I've got a bit of an issue though. It appears that search can index html fine (including that in mdx files), however it cannot deep-link to it.
For example, ``/docs/hello` :
The expected behaviour result in this example is to link to the parent heading (
/docs/hello#parent-heading
). This is how normal markdown is linked, as IDs (anchor links) are generated by docusaurus.The current behaviour is the result links to
/docs/hello
.Ideally, if I attach an id to the html heading, eg
<h3 id="example">example</h3>
, then the search would be able to index that ID and link directly to it (/docs/hello#example
).I realise that headings are treated slightly differently, but basically I want the index to populate the
h
if it exists on the element. Here's what currently happens in the index:The text was updated successfully, but these errors were encountered: