Skip to content

Customizing the react markdown footnote component #1270

Answered by wooorm
callumhening asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

When using remark-gfm, footnotes should work.

There are no particular components things. There are HTML tags that you can overwrite. You can overwrite each HTML element with a component.

Use your developer tools to inspect which elements are currently generated, and which classes. Then you can swap those out for components. You’ll see there’s a sup and a particular a with a data field for example.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@callumhening
Comment options

Answer selected by callumhening
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants