Skip to content

Markdown links spanning across lines not matched by wiki#link#get_all #147

@nickwynja

Description

@nickwynja

Description

In markdown, a link that spreads across multiple lines is still considered a valid link. For example, this is a valid markdown link:

I use hard wrapping at 80 characters so if at this point I include [a
link](NonExistentPage) here that spans two lines, `wiki.vim` won't find it.

wiki#link#get_all loops through lines so in the above case it wouldn't find the link with any existing matcher. On an individual basis, I can currently 'fix' these links when I find them but they sometimes get recreated by the auto-wrapping I use in vim.

Minimal working example

Add the above copy to any page and then run WikiGraphCheckLinks. It will not find the broken reference to NonExistentPage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions