我是Jade的新手,这可能很容易,但我无法达到我想要的效果。最终HTML应如下所示:
<p class='address'>
<span class='strong'>
Starting Point:
</span>
15 Yemen Road, Yemen
</p>
我的玉是:
p.address
span.strong
|Starting Point:
|15 Yemen Road, Yemen
但这导致了html:
<p class="address">
<span class="strong"> </span>
Starting Point:
</p>
15 Yemen Road, Yemen
任何想法如何实现这一目标?
答案 0 :(得分:0)
缩进显然很重要:
p.address
span.strong
|Starting Point:
|15 Yemen Road, Yemen
会工作