Skip to content

Do not replace the leading digit of the anchor link #895

Description

@bgpat

Bug Report

Steps to reproduce

Create link.md, and start the dev srerver.

link.md
# 1. one
111
# 2. two
222
# 3. three
333

What is current behaviour

Docsify adds _ into between # and the leading digit.

image

What is the expected behaviour

I expect that it doesn't add like GitHub's parser.

image


GitHub's markdown parser:

image

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS: macOS

  • Node.js version: v11.12.0

  • npm/yarn version: 6.9.0

  • Browser version: Firefox 67.0.4

  • Docsify version: develop branch (1d3246a)

  • Docsify plugins: nothing

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

    wait for informationsomething is not clear, waiting for the author of the issue/prwontfix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions