react-code-blocks
react-code-blocks copied to clipboard
React code blocks and code snippet components
Problem arose from a fact that dependency react-syntax-highlighter doesn't accept 'cs' value as correct alias for csharp and therefore csharp highlight failed, correct alias is 'csharp'. I am not sure...
When we are using Bootstrap and react-code-blocks then the theme changes quite a bit The above image shows the dracula theme. Is there any way to fix that?
Would be great if we could pass in a custom component if the icon that's used by default doesn't suit the design. :)
Line numbers don't extend the entire code block when there is a `script` tag in a HTML code block. 
## Problem statement Seems like `theme` is undefined. This is the error received when trying to use the component: ```jsx ```
Thank you for the great package, I have noticed that Prismjs has v 1.23 is marked as hight vulnerability,  This was patched in v1.24 can the react-code-blocks be updated...
Hello! Love the component and especially the highlight feature. However, when using the highlight prop, text becomes not selectable. Works fine with the normal component: However, I cannot select any...
I used the below code. I tried both language csharp and cs. There is an error in the dev version but the style is still applied for the code block....
Passes the click event from the Copy button down to the onCopy prop, allowing someone to do something like ```tsx e.preventDefault()} ... /> ``` Or whatever other custom behavior that...
Fixed the link to the Carbon Component