mdsmith
Esc
    v0.52.0 GitHub
    MDS005 heading ready

    MDS005: no-duplicate-headings

    No two headings should have the same text.

    # Config

    Enable:

    rules:
      no-duplicate-headings: true

    Disable:

    rules:
      no-duplicate-headings: false

    # Examples

    # Bad

    # Title
    
    ## Section
    
    ## Section

    # Good

    # Title
    
    ## Section One
    
    Body one.
    
    ## Section Two
    
    Body two.

    # Meta-Information

    • ID: MDS005
    • Name: no-duplicate-headings
    • Status: ready
    • Default: enabled
    • Fixable: no
    • Implementation: source
    • Category: heading
    • markdownlint: MD024 (no-duplicate-heading)
    • rumdl: MD024 (multiple-headings)
    • mado: MD024 (no-duplicate-heading)
    • gomarklint: duplicate-heading