Skip to content

How to insert a literal | character inside table cells

Suewon Bahng edited this page Jul 31, 2016 · 4 revisions

The | character is used to format tables, but it is not escapable by backslash in Civilizer.

For instance, the following table won't be rendered correctly in Civilizer

AND  | OR
-----|----
&&   | \|\|

[Solution] You can use an HTML entity number {{[clr-b] | }} for the literal |.

Input:
AND  | OR
-----|----
&&   | ||
Output:
AND OR
&& ||

Β 

You can find HTML entity numbers for each Ascii code at the following site:
http://www.ascii-code.com

Clone this wiki locally