The following text renders as strikethrough in XMarkdown:
<XMarkdown content={"~123 foo bar (~123)"} streaming={{ enableAnimation: true }} />
This is an issue that was fixed in newer versions of marked. I can use a package override to marked 18 to fix it:
package.json:
{
"overrides": {
"@ant-design/x-markdown": {
"marked": "18.0.7"
}
},
}
Just this update results in:
Please consider updating the marked dependency.
The following text renders as strikethrough in XMarkdown:
This is an issue that was fixed in newer versions of marked. I can use a package override to marked 18 to fix it:
Just this update results in:
Please consider updating the marked dependency.