Skip to content

React in footnotes? #1239

Oct 6, 2023 · 1 comments · 12 replies
Discussion options

You must be logged in to vote

Welcome @mosnicholas!
Sorry you ran into a spot of trouble.

The issue is a misunderstanding of what mdast and remarkPlugins are.
Start by reviewing https://github.com/remarkjs/react-markdown#architecture and https://unifiedjs.com/learn/
Note that, remark plugins and mdast do not contain react components (which is why you are seeing [object Object]).

Your end goal is to add a new content type which doesn't currently exist in mdast a source button, there are some pointers on how to do this in https://github.com/orgs/remarkjs/discussions/867

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@mosnicholas
Comment options

@mosnicholas
Comment options

@mosnicholas
Comment options

@JanRuettinger
Comment options

@mosnicholas
Comment options

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