docsifyjs / docsifyjs/docsify

ability to specify the `nav` element

Abierto
#1,525 3 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
JavaScript
Estrellas
31.5k
Forks
5.8k
Merge medio
9 d 8 h
PR fusionados (30 d)
2

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.