Ansible was asking about support for footnotes, similar to https://gist.github.com/rt2zz/e0a1d6ab2682d2c47746950b84c0b6ee. There's no intent to use this feature anytime soon. We'd have to add an id to the footnote itself - we're just shipping the default behavior from Remark-GFM right now with no customization. The link to the footnote appears to behave correctly.
As of June 5, RHOAI is also interested in using footnotes in order to link to sources. Let's leave what the link goes to open, but enable PatternFly-styled footnotes.
This is what we ship right now (courtesy of default remark-gfm):
This is some text with a footnote.[^1]
[^1]: This is the full footnote text.
Goal is to get font sizes, colors, etc. to match PF where needed, and add prop passthroughs, etc. similar to what we have for code blocks, etc. so we can handle onClick, etc.
New components get added here: https://github.com/patternfly/chatbot/blob/main/packages/module/src/Message/Message.tsx#L280
End goal is to set up new component for footnotes and add tests.
Ansible was asking about support for footnotes, similar to https://gist.github.com/rt2zz/e0a1d6ab2682d2c47746950b84c0b6ee. There's no intent to use this feature anytime soon. We'd have to add an id to the footnote itself - we're just shipping the default behavior from Remark-GFM right now with no customization. The link to the footnote appears to behave correctly.
As of June 5, RHOAI is also interested in using footnotes in order to link to sources. Let's leave what the link goes to open, but enable PatternFly-styled footnotes.
This is what we ship right now (courtesy of default remark-gfm):
Goal is to get font sizes, colors, etc. to match PF where needed, and add prop passthroughs, etc. similar to what we have for code blocks, etc. so we can handle onClick, etc.
New components get added here: https://github.com/patternfly/chatbot/blob/main/packages/module/src/Message/Message.tsx#L280
End goal is to set up new component for footnotes and add tests.