lychee icon indicating copy to clipboard operation
lychee copied to clipboard

Self-link fragments in Markdown files not working

Open dpc opened this issue 11 months ago • 1 comments

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```

dpc avatar Jan 14 '25 00:01 dpc

Yup, sorry about that; fragments are currently broken. See #1425 and #1457 etc. I'm working on a fix at the moment.

mre avatar Jan 14 '25 02:01 mre