pngwn / MDsveX

A markdown preprocessor for Svelte.
https://mdsvex.pngwn.io
MIT License
2.38k stars 102 forks source link

Escaping pipes with inline code + tables does not work correctly #427

Open rgossiaux opened 2 years ago

rgossiaux commented 2 years ago

If you have the table

| Column A | Column B |
| -------- | -------- |
| Foo      | `A \| B` |

then it should render how it does on GH:

Column A Column B
Foo A \| B

with no backslash in the A | B .

In MDsveX, however, the backslash will be rendered.

Did some quick poking around and I think this may be fixed if you upgrade remark, here's a related issue: https://github.com/remarkjs/remark/issues/583

pngwn commented 2 years ago

We can't update remark at the minute, due to API changes. Will be addressed in the future.