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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With