Heyo,
I've been working on a project to support some custom markdown syntax which will be rendered as a custom preact component.
I've done the steps in remark and the remarkRehype stages, so now I have my markdown content wrapped in §§[content]§§ properly marked by HTML elements <inline-redactions>[content]</inline-redaction>
Though, now I need to tell rehype to parse those elements as a custom preact component InlineRedaction.tsx.
I've gotten so far that I probably need the rehype-react plugin. But I'm struggling to configure it properly.
Does anyone have experience with the plugin or this use case? I'd very much appreciate some pointers here.