嗨,我是gradle和nodejs的新手。我正试着在玉石上添加p标签的衬垫。我的玉器档案如下
extends layout
block content
center
h1= title
p Rate-Review-Ride
p(style='padding-left:500px;')
| Gradle is a project automation tool that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language
| (DSL) instead of the more traditional XML form of declaring the project configuration.
| Unlike Apache Maven, which defines lifecycles, and Apache Ant, where targets are invoked based upon a depends-on partial ordering, Gradle uses a directed acyclic graph ("DAG") to determine the order in which tasks can be run.
| Gradle was designed for multi-project builds which can grow to be quite large, and supports incremental builds by intelligently determining which parts of the build tree are up-to-date, so that any task dependent upon those parts will not need to be re-executed.
| The initial plugins are primarily focused around Java, Groovy and Scala development and deployment, but more languages and project workflows are on the roadmap.
| dfs dfd fdsfdf dfljjf ofds fojdofjdosj fojdofjdofjdof但它没有在段落中添加填充物。如果我在上面的代码中为center添加相同的样式,它就会添加填充。请解释一下style是如何在jade中工作的
发布于 2015-04-30 12:11:18
像蟒蛇一样,Jade对线条缩进是非常严格的。您需要在右边放两个空格,如下所示:
block content
center
h1= title
p Rate-Review-Ride
p(style='padding-left:500px;')
| Gradle is a project automation tool that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language
| (DSL) instead of the more traditional XML form of declaring the project configuration.
| Unlike Apache Maven, which defines lifecycles, and Apache Ant, where targets are invoked based upon a depends-on partial ordering, Gradle uses a directed acyclic graph ("DAG") to determine the order in which tasks can be run.
| Gradle was designed for multi-project builds which can grow to be quite large, and supports incremental builds by intelligently determining which parts of the build tree are up-to-date, so that any task dependent upon those parts will not need to be re-executed.
| The initial plugins are primarily focused around Java, Groovy and Scala development and deployment, but more languages and project workflows are on the roadmap.
| dfs dfd fdsfdf dfljjf ofds fojdofjdosj fojdofjdofjdof如果没有它,文本将不会出现在<p>标记中。
https://stackoverflow.com/questions/29967221
复制相似问题