Skip to content

x/pkgsite: add support for github's markdown footnotes #65922

Open

Description

@madkins23

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/madkins23/go-slog@v0.8.3-alpha-server/infra#section-readme

What is your user agent?

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Screenshot

Github:
github-footnote

pkg.go.dev:
no-footnotes

What did you do?

Added footnotes to README.md file per Github markdown syntax.

What did you see happen?

Works fine in Github. Footnotes not respected in pkg.go.dev.

What did you expect to see?

Footnotes should look the same in both places if possible.

Activity

  1. added this to the Unreleased milestone on Feb 24, 2024
  2. changed the title [-]x/pkgsite: issue title[/-] [+]x/pkgsite: add support for github's markdown footnotes[/+] on Feb 24, 2024
  3. added
    FeatureRequestIssues asking for a new feature that does not need a proposal.
    on Feb 26, 2024
  4. suzmue commented on Feb 29, 2024

    @suzmue
    Contributor
  5. matloob commented on Feb 29, 2024

    @matloob
    Contributor

    This is interesting. footnotes don't seem to be mentioned in the github flavored markdown spec here: https://github.github.com/gfm/. Could you link us to official documentation of footnotes in github?

  6. added
    NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.
    on Apr 15, 2025
  7. Bertie690 commented on May 22, 2026

    @Bertie690

    Personally, I think this would be a good change - lots of packages use footnotes in their README which don't come out well on pkg.go.dev.
    THAT BEING SAID, it also brings into question what other kinds of GFM constructs we would want to support (like ![NOTE] box rendering) and where to draw the line.

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

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.pkgsite

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions