Skip to content

How to insert a literal | character inside table cells

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

Limitation

The | character ( which is used to format tables ) is not escapable by backslash in Civilizer.

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

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

Workaround

You can use an HTML entity number | 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