I'm trying to escape special characters in pug/jade but it keeps giving me errors.
I tried !{}, #[] and #[!] but non of these options allow me to use "(" character.
p.
!{(} Edit !{>} Preferences !{>} Media !{&}
I'm trying to escape special characters in pug/jade but it keeps giving me errors.
I tried !{}, #[] and #[!] but non of these options allow me to use "(" character.
p.
!{(} Edit !{>} Preferences !{>} Media !{&}
Copyright © 2021 Jogjafile Inc.
If your goal is to have Pug compile to HTML that looks something like this:
You can just write this Pug:
Or this:
You shouldn't need to escape special characters in plain text in Pug, unless they're HTML tags.
If the above doesn't work, there's something going on with how Pug is configured, and you'll need to ask a new question and include any error messages.