2

I wish to write the following simple html in Jade:

<p>Nevertheless, you can read his stuff on his nameless <a href="blog">blog</a> as well as on the <a href="voice">Voice</a> college blog.</p>

An ugly, long, error-prone way of doing this is:

p Nevertheless, you can read his stuff on his nameless 
    a(href="blog") blog
    |  as well as on the 
    a(href="voice") Voice
    |  college blog.

Is there an easier / simpler way of writing this? Thanks

Edit: Please ignore the code highlighting colours as they have no significance.

daba
  • 157
  • 3
  • 14

1 Answers1

0

The quickest way is to break out of jade and into markdown, see more here: Jade: Links inside a paragraph

Community
  • 1
  • 1