draft-js-utils
draft-js-utils copied to clipboard
Example for markup code-block export
Hey there,
Is there an example code on how we have to set the code language so it gets exported correctly? https://github.com/sstur/draft-js-utils/blob/master/packages/draft-js-export-markdown/src/stateToMarkdown.js#L135

I added a dropdown to select the code language, but now I don't know how to update the block so the code language gets exported with it.
Thanks