kadikraman / draftjs-md-converter

Converts content from Draft.js blocks to Markdown and vice versa.
https://kadikraman.github.io/draftjs-md-converter/
MIT License
145 stars 37 forks source link

Added code block functionality #3

Closed MarcelCutts closed 8 years ago

MarcelCutts commented 8 years ago

Added functionality that allows the use of code blocks, transforming them between the DraftJS and MarkDown format.

Also expanded the test suite to more thoroughly test the code blocks functionality.

kadikraman commented 8 years ago

Nice! I like it a lot. I'm very happy you went with the dict style for the wrapping block styles as it can be reused for stuff like quotes in the future 👍