docsifyjs / docsifyjs/docsify

ability to specify the `nav` element

Open
#1,525 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
31.5k
Forks
5.8k
Avg merge
9d 8h
Merged PRs (30d)
2

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.