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
If we want to use a bold for example after a custom component, the markdown will render correctly the custom component but not the following text. It seems to be only when the markdown is on multi lines.
const Text = (props) => <span style={{ color: 'red' }}>{props.children}</span>
# Important to put on multi lines here
const markdown = `
<Text>Hello world!</Text> **bold**
`;
<Markdown options={{ overrides: { Text: { component: Text } } }} >
{markdown}
</Markdown>
Expected: bold
Result: **bold**
It was working fine in version 7.1.5 but not since 7.1.6.
The text was updated successfully, but these errors were encountered:
If we want to use a bold for example after a custom component, the markdown will render correctly the custom component but not the following text. It seems to be only when the markdown is on multi lines.
Expected: bold
Result: **bold**
It was working fine in version 7.1.5 but not since 7.1.6.
The text was updated successfully, but these errors were encountered: