Skip to content

TOC Links Not Working with Certain Emoji's in Headings #1

@RetroCro

Description

@RetroCro

For Example This Heading in the markdown file:

# ➡️➡️STEP 1 - START HERE⬅️⬅️

Using gh-toc

Output:

<!-- ToC begin -->
<a id="toc"></a>

- [➡️➡️STEP 1 - START HERE⬅️⬅️](#step-1---start-here)
<!-- Generated by gh-toc, https://moonbase59.github.io/gh-toc/ -->
<!-- ToC end -->

Link does not work unless changed to this:

- [➡️➡️STEP 1 - START HERE⬅️⬅️](#%EF%B8%8F%EF%B8%8Fstep-1---start-here%EF%B8%8F%EF%B8%8F)

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