Skip to content

[Feature] Add html anchor support #4

@igor-tsiglyar

Description

@igor-tsiglyar

Description

It seems that currently only links to markdown headers are processed, unlike https://github.com/DavidAnson/markdownlint/blob/main/doc/md051.md which also supports links to html anchors.

Describe the solution you'd like

Would be great to have the same processing logic as md051 so that this plugin is usable with anchors.

Describe alternatives you've considered

Current workaround is using https://github.com/tcort/markdown-link-check with the following config:

{
    "ignorePatterns": [
      {
        "pattern": "^#"
      }
    ]
}

This utility also does not work well with anchors so we can ignore all the links to them while links to files are being verified just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions