You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched issues and discussions and couldn’t find anything (or linked relevant results below)
Problem
While using the react-markdown I ran into a probem that what if I want to render two different component for multiline and singleline code block.
Like code should be treated differently and
console.log(10)
should render a different component, in that case how I can identify that.
Current solutions
I was not able to find any solution.
Proposed solutions
There should be some custom name to identify such case like that we have for other html elements.
The text was updated successfully, but these errors were encountered:
Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn’t an exact duplicate but is closely related.
Initial checklist
Problem
While using the react-markdown I ran into a probem that what if I want to render two different component for multiline and singleline code block.
Like
code
should be treated differently andshould render a different component, in that case how I can identify that.
Current solutions
I was not able to find any solution.
Proposed solutions
There should be some custom name to identify such case like that we have for other html elements.
The text was updated successfully, but these errors were encountered: