Answers for "Rendering HTML in variable using Jade"

3

Rendering HTML in variable using Jade

The syntax you need is :

!{yourJsVariable}
if you use #{yourJsVariable} it shows consider it as string,
but with !{} it doesn't.
Posted by: Guest on September-16-2021

Browse Popular Code Answers by Language