Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
This repository was archived by the owner on May 27, 2021. It is now read-only.

Are Hyperlinks on Headers Not Supported? #56

@bayu01

Description

@bayu01

Hello, I was trying to have subsections that are actually hyperlinks to other documents but the ToC generates my subsections with nested looking hyperlinks that are not working.

Steps to reproduce:

  1. After the comments, generate an H1 with some text.
  2. Generate an H2 under the H1 text.
  3. Convert the H2 section to a hyperlink to some resource.
    e.g:
# My H1 section
## [My H2 section](www.example.com)

Expected ToC:

- [My H1 section](#my-h1-section)
    - [My H2 section](#my-h2-section)

Actual ToC:

- [My H1 section](#my-h1-section)
    - [[My H2 section](www.example.com)](#my-h2-section)

Is there a workaround for this issue?

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