Skip to content

Flag to not move footnotes #34

@ioggstream

Description

@ioggstream

Context

Given

### Footnote

Here's a sentence with a footnote. [^1]

[^1]: This is the footnote.

## Whatever

Other stuff

When

mdformat-footnote --new-flag-for-not-relocating-footnotes

I expect

  • Unchanged, footnote still close to the original text.
### Footnote

Here's a sentence with a footnote. [^1]

[^1]: This is the footnote.

## Whatever

Other stuff

Instead

  • Footnote is moved at the end of the document
### Footnote

Here's a sentence with a footnote. [^1]


## Whatever

Other stuff

[^1]: This is the footnote.

Proposal

A new flag --keep-footnote-position
that does not move footnotes at the EOF

Tasks and updates

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions