Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C64ED18BA2 for ; Fri, 8 May 2015 11:37:00 +0000 (UTC) Received: (qmail 98053 invoked by uid 500); 8 May 2015 11:37:00 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 98023 invoked by uid 500); 8 May 2015 11:37:00 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 98012 invoked by uid 99); 8 May 2015 11:37:00 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2015 11:37:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2416AC2806 for ; Fri, 8 May 2015 11:37:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.541 X-Spam-Level: ** X-Spam-Status: No, score=2.541 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_INFOUSMEBIZ=0.75, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id huQnZG1GsEgK for ; Fri, 8 May 2015 11:36:45 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id D966A212CE for ; Fri, 8 May 2015 11:36:28 +0000 (UTC) Received: (qmail 96838 invoked by uid 99); 8 May 2015 11:36:27 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2015 11:36:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F4096E4455; Fri, 8 May 2015 11:36:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: anovikov@apache.org To: commits@ignite.incubator.apache.org Date: Fri, 08 May 2015 11:36:49 -0000 Message-Id: <8ee4643f4fc64827a28abb55ab94a671@git.apache.org> In-Reply-To: <3ead14700914445aa3657b0f322edc14@git.apache.org> References: <3ead14700914445aa3657b0f322edc14@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [24/52] [partial] incubator-ignite git commit: # ignite-843 WIP. http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0ef79031/modules/webconfig/nodejs/node_modules/jade/Readme_zh-cn.md ---------------------------------------------------------------------- diff --git a/modules/webconfig/nodejs/node_modules/jade/Readme_zh-cn.md b/modules/webconfig/nodejs/node_modules/jade/Readme_zh-cn.md new file mode 100644 index 0000000..da54583 --- /dev/null +++ b/modules/webconfig/nodejs/node_modules/jade/Readme_zh-cn.md @@ -0,0 +1,1285 @@ +# Jade - 模板引擎 + +Jade 是一个高性能的模板引擎,它深受 [Haml](http://haml-lang.com) 影响,它是用 JavaScript 实现的, 并且可以供 [Node](http://nodejs.org) 使用. + +翻译: [草依山](http://jser.me) 等 + +## 声明 + +从 Jade `v0.31.0` 开始放弃了对于 `" +| !{html} +``` + +内联标签同样可以使用文本块来包含文本: + +```jade +label + | Username: + input(name='user[name]') +``` + +或者直接使用标签文本: + +```jade +label Username: + input(name='user[name]') +``` + +_只_ 包含文本的标签,比如 ` + + +

My Site

+

Welcome to my super lame site.

+ + + +``` + +前面已经提到,`include` 可以包含比如 HTML 或者 CSS 这样的内容。给定一个扩展名后,Jade 不会把这个文件当作一个 Jade 源代码,并且会把它当作一个普通文本包含进来: + +``` +html + head + //- css and js have simple filters that wrap them in +