It appears that Jekyll’s markdown-to-HTML converter retains backslashes inside backquotes. But regular markdown (e.g. at https://markdownlivepreview.com/) interprets them.
For example, here is a raw markdown table definition. The “Type” cell contains the string “string \| undefined
”. Note that there is a backslash before the vertical bar in the unprocessed markdown:
| Property | Type |
| -------- | ---------------------- |
| `pdfid` | `string \| undefined` |
This forum’s markdown viewer removes the backslash:
Property | Type |
---|---|
pdfid |
string | undefined |
The same thing happens when viewed by the markdownlivepreview.com viewer. (I cannot paste an image of it here; as a new user, I’m limited to pasting only one image in my first post. But you can go to that site and paste the raw table definition into the left pane, and see the result.)
But when Jekyll converts it, the type of “pdfid” looks like this:
I think the backslash should be interpreted, even inside backquotes. Is this a bug in Jekyll, or in some markdown converter that Jekyll uses?