When using Markdown Table syntax, using the escape character () for pipes (|) does not remove the escape character when rendered. Example:

This is not a place to ask questions. For that, go to Spectrum
Tried to create an mvce on CodeSandbox but that was met with frustration. Basically, create a simple component with a Markdown table and attempt to use an escaped pipe in that table:
# Hello, world!
<Button>Here is a button</Button>
|Test|Test2|
|---|---|
|`testy \| testy` | testy |
The pipe should be rendered without the preceding escape character
The pipe is rendered prepended by the escape character.
To be fair, I think this bug may lie more in how unified.js handles escaped pipes, but I admittedly don't have enough experience with unified (or ASTs in general) to know.
This indeed has to do with how remark-parse interprets table cells and is a bug there. The escape slash is a literal slash, instead of an escape. We鈥檙e working on a replacement that has much better support for MDX.
If you鈥檇 like to support us to get there faster, and are able to, please sponsor us on OpenCollective!
Sorry btw, forgot about this issue, but this is, horrible as that may sound, a feature instead of a bug. Escapes (# Hello, world! `\#`) and character references (# Hello, world! `&`) do not work in code: https://spec.commonmark.org/dingus/?text=%23%20Hello%2C%20world!%20%60%5C%23%60
It鈥檚 what lets you embed HTML and other things inside code blocks without needing to double encode everything such as <this>