Skip to content

collapsed sections with footnotes not rendering #153

@samheckle

Description

@samheckle

issue: footnotes don't render within the HTML <detail> tags

as per github collapsed docs

here is my markdown:

<details>
<summary> toggle 1 </summary>

definition with footnote[^1]

</details>

<details>
<summary> toggle 2 </summary>

definition with a footnote[^2]

</details>

[^1]: this displays as plaintext
[^2]: this also displays as plaintext

here is the output in vs code markdown preview:
Image

the expected functionality should look like this:

toggle 1

definition with footnote1

toggle 2

definition with a footnote2

Footnotes

  1. footnote 1

  2. footnote 2

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