Reputation: 8113
In jade the pipe symbol (|
) is used for plain text output. What if I want to write it in page? How can I escape it?
Upvotes: 5
Views: 1627
Reputation: 8113
I've just found a possible solution: use the pipe itself to escape the pipe instruction:
|| hello
will output
| hello
and that's true for about any reserved symbol: us the pipe in front so it will be treated as plain text
Upvotes: 8