Skip to content
This repository was archived by the owner on Apr 12, 2025. It is now read-only.

Reference-style links/footnotes broken if separated by code block #3

@ghost

Description

Reference-style links and footnotes will not work if there is a code block between them:

This [reference link][link1] and footnote[^fn2] will not work.
~~~
some code here
~~~
[link1]: http://example.com
[^fn2]: A footnote

Workaround is to use only inline links or place the reference definition closer to the source where possible.

However for footnotes there is no workaround as they will be rendered too early (at the end of the current text block, before the next code block) if placed anywhere except the end of the document.

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