Hello,
I've been trying to get the string after the language on a code block like this one:
```jsx static
The idea is to pass it to my custom Code component so as to configure it in different ways. Unfortunately, this commit strips that part away on this line: https://github.com/rexxars/react-markdown/blob/51d71988191252ec74b3457561bc4f1330604b2e/src/ast-to-react.js#L70
I'd like to know if it's possible to overwrite this behavior and pass that part as a prop to my component.
Thank you
Hello,
I've been trying to get the string after the language on a code block like this one:
The idea is to pass it to my custom
Codecomponent so as to configure it in different ways. Unfortunately, this commit strips that part away on this line: https://github.com/rexxars/react-markdown/blob/51d71988191252ec74b3457561bc4f1330604b2e/src/ast-to-react.js#L70I'd like to know if it's possible to overwrite this behavior and pass that part as a prop to my component.
Thank you