How to avoid pipe symbol in jade?

The jade symbol uses the pipe symbol ( | ). What if I want to write it on the page? How can i avoid this?

+5
source share
1 answer

I just found a possible solution: use the pipeline itself to avoid the pipe instructions:

 || hello 

displays

 | hello 

and this is true for any reserved character: we have a pipe in front, so we will consider it as plain text

+7
source

Source: https://habr.com/ru/post/1234791/


All Articles