Skip to content
This repository was archived by the owner on Dec 13, 2019. It is now read-only.
This repository was archived by the owner on Dec 13, 2019. It is now read-only.

Heading links containing dashes (-, –, —) don’t work on GitHub #11

Description

@Moonbase59

I’m using Atom 1.38.2 and atom-mdtoc 0.8.4. On my GitHub loudgain page, I use mdtoc to generate a TOC as follows:

<!-- MDTOC maxdepth:6 firsth1:2 numbering:0 flatten:0 bullets:1 updateOnSave:1 -->
<!-- /MDTOC -->

Unfortunately, headings containg several hyphens -, endash or emdash seem to calculate links that don’t work out. (Try some headings on my page’s TOC like rgbpm.sh – Folder-based loudness and BPM scanning.)

Here are some samples of what mdtoc generates – and what the GitHub link is:

[rgbpm.sh – Folder-based loudness and BPM scanning](#rgbpmsh-–-folder-based-loudness-and-bpm-scanning)   
https://github.com/Moonbase59/loudgain/blob/albummode/README.md#rgbpmsh--folder-based-loudness-and-bpm-scanning
[Default mode `-s i` (`--tag-mode i`)](#default-mode-s-i-tag-mode-i)   
https://github.com/Moonbase59/loudgain/blob/albummode/README.md#default-mode--s-i---tag-mode-i

Activity

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

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