更简单,更清晰的内联链接[JADE预处理]

时间:2012-05-18 11:05:08

标签: html preprocessor pug

我希望在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.

有更简单/更简单的方法吗?感谢

修改:请忽略突出显示颜色的代码,因为它们没有任何意义。

1 个答案:

答案 0 :(得分:0)

最快捷的方法是突破玉石并进入降价,请点击此处查看更多信息:Jade: Links inside a paragraph

相关问题