React in footnotes? #1239
Answered
by
ChristianMurphy
mosnicholas
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
ChristianMurphy
Oct 6, 2023
Replies: 1 comment 12 replies
-
Welcome @mosnicholas! The issue is a misunderstanding of what Your end goal is to add a new content type which doesn't currently exist in |
Beta Was this translation helpful? Give feedback.
12 replies
Answer selected by
mosnicholas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Welcome @mosnicholas!
Sorry you ran into a spot of trouble.
The issue is a misunderstanding of what
mdast
andremarkPlugins
are.Start by reviewing https://github.com/remarkjs/react-markdown#architecture and https://unifiedjs.com/learn/
Note that,
remark
plugins andmdast
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