stylemark icon indicating copy to clipboard operation
stylemark copied to clipboard

Escaped pipes (`\|`) in tables don't work

Open mpetrovich opened this issue 7 years ago • 1 comments

In GFM tables, pipes can be escaped. However, this doesn't work in Stylemark:

Foo | Bar
--- | ---
`yes \| no` | bar

Expected: expected

Actual: actual

mpetrovich avatar Oct 15 '17 21:10 mpetrovich

This is a known issue with marked, the Markdown parser that Stylemark uses.

Meanwhile, a workaround exists: wrap the code with <code> instead of backticks, and use &#124; instead of |.

Foo | Bar
--- | ---
<code>yes &#124; no</code> | bar

mpetrovich avatar Oct 15 '17 21:10 mpetrovich