Skip to content

Self-link fragments in Markdown files not working #1613

@dpc

Description

@dpc

I have a Markdown file that contains links across itself:

The [Fedimint federation](#Federation-Nodes)  ...


...

## Federation Nodes

This link works, even in my LSP, so I can jump to the header via that link.

However lychee doesn't like such links:

> lychee docs README.md --include-fragments --cache


[docs/architecture.md]:
   [ERROR] file:///home/dpc/fedimint/fedimint/docs/architecture.md#User-Client
   [ERROR] file:///home/dpc/fedimint/fedimint/docs/architecture.md#LN-Gateway
   [ERROR] file:///home/dpc/fedimint/fedimint/docs/architecture.md#Modules
   [ERROR] file:///home/dpc/fedimint/fedimint/docs/architecture.md#Federation-Nodes
   [ERROR] file:///home/dpc/fedimint/fedimint/docs/architecture.md#Crate-organization```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions