Skip to content

Add footnote support #1

Description

@doktorigi

GFM-style footnotes ([^1] references with a [^1]: definition block) don't render — they come out as plain text.

This is a good fit for a marked extension, same pattern as the KaTeX math extension already in script.js (see the blockMath/inlineMath tokenizers). Remember output must survive DOMPurify.sanitize.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions