On GitHub I want to build a table containing pieces of code in Markdown. It works fine except when I put a pipe char (i.e. | ) between the backtick (i.e. ` ) chars.
As of mid-2017, the pipe may simply be escaped with a backslash, like so: \|
This works both inside and outside of backticks.
The HTML code may now be used again, too, but only outside of backticks.
Previous answer:
As of March 2017, the accepted answer stopped working because GitHub changed their markdown parser. Using another unicode symbol that resembles a pipe seems to be the only option right now, e.g.:
ǀ (U+01C0, Latin letter dental click)
∣ (U+2223, Symbol divides)
⎮ (U+23AE, Integral Extension)