Skip to content

Footnote integration with "On This Page" #4402

@AmitMY

Description

@AmitMY

Describe the bug

When using markdown-it-footnote, I manage to get footnotes on the page.
However, when the footnote is on a header
image
the "On this page" section shows it in an undesired way
image

Reproduction

https://stackblitz.com/edit/vitepress-footnote-bug

image

Expected behavior

The footnote should be removed from the "On This Page" area

System Info

reproduced on stackblitz.

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions