Open n3ssi3 opened 4 years ago
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
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