Skip to content

How can I use the nav tag instead of the ul class? #150

@metapodcod

Description

@metapodcod
<ul id="toc" class="section-nav">
  <li class="toc-entry toc-h1"><a href="#heading1">Heading.1</a>
    <ul>
      <li class="toc-entry toc-h2"><a href="#heading1-1">Heading.1-1</a></li>
      <li class="toc-entry toc-h2"><a href="#heading1-2">Heading.1-2</a></li>
    </ul>
  </li>
</ul>

I want to use it like this but I don't know how, can you help me ?

<nav id="toc" class="section-nav">
<li class="toc-entry toc-h2"><a href="#heading1-1">Heading.1-1</a></li>
 <li class="toc-entry toc-h2"><a href="#heading1-2">Heading.1-2</a></li>
</nav>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions