Skip to content

ability to specify the nav element #1525

Description

@Evidlo

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?

Activity

  1. changed the title [-]Controlling which <nav> is selected[/-] [+]Embedding within a webpage[/+] on Mar 8, 2021
  2. Koooooo-7 commented on Mar 9, 2021

    @Koooooo-7
    Member

    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.

  3. pauldraper commented on Sep 26, 2021

    @pauldraper

    related #799

  4. changed the title [-]Embedding within a webpage[/-] [+]ability to specify the `nav` element[/+] on Jan 12, 2022
  5. trusktr commented on Jan 12, 2022

    @trusktr
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions