So in HTML i'd do something like this:
<a href="www.something.com">
<img src="my/machine">
</a>
to make the image into a link. But I want to do the same for Jade. I was reading through the docs here but nothing relating to what I want. Help please? Thanks very much in advance.
What you're doing is nesting elements. Nesting just requires new lines and a tab per nest level.
Jade:
a(href='www.something.com')
img(src='my/machine')
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