Closed andrewfan closed 5 years ago
Hi @andrewfan so sorry, I don't know how I missed this issue! I'd love to fix it, but I can't seem to write a test to replicate it. Am I understanding correctly that inputting
some text
\```
some code
\```
will return the equivalent of this when rendered in draft.js?
\```
some text
some code
\```
Created https://github.com/kadikraman/draftjs-md-converter/pull/49 with test case and fix
Hey, I have a value
and draftjsToMd returns everything wrapped in ```
i think it happens here https://github.com/kadikraman/draftjs-md-converter/blob/master/src/draftjsToMd.js#L180
For now i fixed it with