docsify icon indicating copy to clipboard operation
docsify copied to clipboard

ability to specify the `nav` element

Open Evidlo opened this issue 3 years ago • 3 comments

I'm trying to embed docsify within an existing template, but I'm having a problem where docsify is hijacking my template's <nav> tag.

Looking through the source, it seems like docsify chooses the first <nav> on the page.

Is there any chance we could get a nav_el config option that lets us specify the id of the <nav> element we want to use?

Evidlo avatar Mar 05 '21 10:03 Evidlo

not yet, we register selectors just on nav rn. could u give us a simple demo to reproduce it ? we will check it, thx a lot.

Koooooo-7 avatar Mar 09 '21 00:03 Koooooo-7

related #799

pauldraper avatar Sep 26 '21 17:09 pauldraper

This will be part of #799. #799 needs a few more things besides the nav fix.

trusktr avatar Jan 12 '22 05:01 trusktr