A pipe inside a value is escaped so it cannot end the cell

All 5 scenarios hold

Markdown ends a cell at a pipe, so a value holding one would split the row and the table would lose a column from that point on. Every pipe the value itself contains is escaped instead, wherever it sits — in a plain value, inside a collection, or in a column header.

expected outcome broken scenario
ScenarioCellPublished cell?
A value that is one pipe"|"\|
A pipe inside a sentence"Text with | a pipe"Text with \| a pipe
Pipes inside a list["|", "|"][\|, \|]
Pipes inside a set{"||"}{\|\|}
A pipe inside a map value[b: "||"][b: \|\|]