react-code-blocks icon indicating copy to clipboard operation
react-code-blocks copied to clipboard

xml language not working

Open aronmi opened this issue 3 years ago • 2 comments

in demo code: https://codesandbox.io/s/react-code-blocks-xgjrr?fontsize=14&file=/src/index.js i just changed line 44 language to 'xml' and it faces error : language xml is not supported. do i need to change anything else?

aronmi avatar Jul 16 '21 07:07 aronmi

Hey @aronmi, you can use markup for rendering xml for now.

We'll need to add an alias for xml on a future release for it to work on it's own.

rajinwonderland avatar Jul 22 '21 14:07 rajinwonderland

same problem

weijie-he avatar Jan 06 '22 06:01 weijie-he