I\'m trying to author a few paragraphs with Jade, but finding it difficult when there are links inside a paragraph.
The best I can come up with, and I\'m wondering
This is the best I can come up with
-var a = function(href,text){ return ""+text+"" }
p this is an !{a("http://example.com/","embedded link")} in the paragraph
Renders...
this is an embedded link in the paragraph
Works ok, but feels like a bit of a hack - there really should be a syntax for this!