Skip to content

footnote with blank first line #48

@nschloe

Description

@nschloe

Describe the bug

The following markdown is a valid footnote:

[^lorem]

[^lorem]:
    ipsum

GitHub screenshot:

sc

However, mdit parses it as if it was invalid becase the first line is empty.

(See executablebooks/mdformat-footnote#6).

Reproduce the bug

See above.

List your environment

  • No jupyter.

  • python --version
    
    Python 3.10.5
    
  • Ubuntu 22.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions