Skip to content

Feature Request: New rule to disallow reference-style links #2008

@awwsmm

Description

@awwsmm

Markdown currently has two styles of links

  1. inline links
    Hello, [this is a link](https://www.markdownguide.org/basic-syntax/#links), isn't that cool?
  2. reference links
    Here is [another link][link-slug], but this is a reference-style link.
    
    [link-slug]: https://www.markdownguide.org/basic-syntax/#reference-style-links

Inline links can make the Markdown source difficult for humans to read, but reference links can also be difficult to read when using some editors with less-than-complete Markdown parsing. If a user could disable one or the other kind of link using a lint, it could make documents easier to read in codebases which prefer one or the other style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions