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?
How to escape the pipe symbol in jade?
Asked Answered
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
© 2022 - 2024 — McMap. All rights reserved.
|
directly? – Budweis