docsifyjs / docsifyjs/docsify

ability to specify the `nav` element

Offen
#1,525 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
JavaScript
Sterne
31.5k
Forks
5.8k
Ø Merge
9 T. 8 Std.
Gemergte PRs (30 T.)
2

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.