andreypopp / reactdown

Markdown based live document format
https://andreypopp.github.io/reactdown
MIT License
116 stars 10 forks source link

Feature Request: Allow Markdown in React Components #1

Closed clintandrewhall closed 8 years ago

clintandrewhall commented 10 years ago

I've been trying to figure this out without much success: I'd like to have reactdown continue to process markdown (and thus, create markup) inside React component tags. For example:

https://raw.githubusercontent.com/clintandrewhall/metaphorically/master/metaphors/open-source.md

Right now, and due to Markdown rules, this content (e.g. the numbered list) isn't being converted. How difficult would it be to implement? Do you have any pointers? Thanks in advance!

andreypopp commented 10 years ago

I'm afraid you need to fix markdown parser to process markdown inside HTML... not sure how difficult it is but usually markdown parsers are complete mess.

andreypopp commented 8 years ago

This will be possible with the redesigned version.