How do we write a long attribute value over multiple lines in Jade / Pug?
SVG paths tend to be really long. We want to write an attribute value over multiple lines t
You can do it by closing the string at the line-break, adding a '+', and then opening a new string on the continuation line.
Here's an example:
path(d="M10 315 L 110 215 A 30 50 0 0 1 162.55 162.45 L 172.55" + " 152.45 A 30 50 -45 0 1 215.1 109.9 L 315 10", foo="etc", ...