marked-react icon indicating copy to clipboard operation
marked-react copied to clipboard

⚛️ Render Markdown as React components

Results 9 marked-react issues
Sort by recently updated
recently updated
newest added

Thank you for the great extension! It really helps! So, I need to parse some custom markdown tokens from own tokenizer extension. I can add functions to custom renderer but...

Writing DOM.purify inside renderer, right before returning the parsed markup leads to problems like showing [object Object] for things like bold and italics. ```js const renderer = { paragraph(text) {...

Issue when upgrading the package seems to be with marked library which is an internal part. ![image](https://github.com/sibiraj-s/marked-react/assets/65212662/eb2af060-a464-4b39-85c6-56e1d7ad3b05)

see https://github.com/markedjs/marked/blob/9cbb7a6c335715bf09a7672457a5d3c77c89196b/src/Instance.ts#L155

I don't see any references in the codebase to `walkTokens`. If I create extension that has `walkTokens` and I want to use it with marked-react, would I just need to...

Why can't parse html string? for example: ` `

# Problem In the original implementation of `elementId`, the `elementId` of parent elements changes when new inline blocks are formed. This leads to failures in preserving React component state. #...

Hi 👋 Previously, I opened https://github.com/sibiraj-s/marked-react/pull/42 to correctly unescape whitespace HTML entity codes. However, that the approach already present turned out to be not very scalable, as many valid entities...

This PR closes #44, @sibiraj-s what do you think about this?