2

我希望在Jade中编写以下简单的 html :

<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>

一个丑陋、冗长、容易出错的方法是:

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.

有没有更简单/更简单的方法来写这个?谢谢

编辑:请忽略代码突出显示颜色,因为它们没有意义。

4

1 回答 1

0

最快的方法是跳出jade并进入markdown,在这里查看更多:Jade:段落内的链接

于 2012-05-30T19:15:27.470 回答