docsifyjs / docsifyjs/docsify

ability to specify the `nav` element

Aperta
#1,525 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
31.5k
Fork
5.8k
Merge medio
9g 8h
PR unite (30g)
2

Descrizione

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

Looking through the source, it seems like docsify [chooses the first ``](https://github.com/docsifyjs/docsify/blob/master/src/core/render/index.js#L404) on the page.

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.