@@ -134,25 +134,51 @@ $ pug --client --no-debug filename.pug
134
134
135
135
which will produce ` filename.js ` containing the compiled template.
136
136
137
- ## Additional Resources
138
-
139
- Tutorials:
137
+ ## Tutorials
140
138
141
139
- cssdeck interactive [ Pug syntax tutorial] ( http://cssdeck.com/labs/learning-the-jade-templating-engine-syntax )
142
140
- cssdeck interactive [ Pug logic tutorial] ( http://cssdeck.com/labs/jade-templating-tutorial-codecast-part-2 )
143
141
- [ Pug について。] ( https://gist.github.com/japboy/5402844 ) (A Japanese Tutorial)
144
142
145
- Implementations in other languages:
143
+ ## Implementations in other languages
144
+
145
+ ### Ports in other languages
146
+
147
+ Ports with very close syntax, adapted to other languages:
148
+
149
+ - [ PHP] ( https://github.com/pug-php/pug )
150
+ - [ Java] ( https://github.com/neuland/jade4j )
151
+ - [ Python] ( https://github.com/matannoam/pypugjs )
152
+ - [ Ruby] ( https://github.com/yivo/pug-ruby )
153
+ - [ C# (ASP.NET Core)] ( https://github.com/AspNetMonsters/pugzor )
154
+
155
+ ### Equivalents in other languages
146
156
147
- - [ Larpug - Pug for Laravel] ( https://github.com/acidjazz/larpug )
148
- - [ php] ( https://github.com/pug-php/pug )
149
- - [ scala] ( https://scalate.github.io/scalate/documentation/scaml-reference.html )
150
- - [ ruby] ( https://github.com/slim-template/slim )
151
- - [ python] ( https://github.com/matannoam/pypugjs )
152
- - [ java] ( https://github.com/neuland/jade4j )
153
- - [ C# ASP.NET Core] ( https://github.com/AspNetMonsters/pugzor )
157
+ Templates engines available in other languages with a different syntax but a similar philosophy:
154
158
155
- Other:
159
+ - [ Scaml for Scala] ( https://scalate.github.io/scalate/documentation/scaml-reference.html )
160
+ - [ Slim for Ruby] ( https://github.com/slim-template/slim ) (should not be confused with Slim PHP framework)
161
+ - [ HAML for Ruby] ( http://haml.info/ )
162
+
163
+ ### Framework implementations/adapters
164
+
165
+ Embedded view engines for frameworks:
166
+
167
+ - [ Laravel] ( https://github.com/BKWLD/laravel-pug )
168
+ - [ Symfony] ( https://github.com/pug-php/pug-symfony )
169
+ - [ Phalcon] ( https://github.com/pug-php/pug-phalcon )
170
+ - [ CodeIgniter] ( https://github.com/pug-php/ci-pug-engine )
171
+ - [ Yii 2] ( https://github.com/pug-php/pug-yii2 )
172
+ - [ Slim 3] ( https://github.com/pug-php/pug-slim )
173
+ - [ Silex (implementation example)] ( https://gist.github.com/kylekatarnls/ba13e4361ab14f4ff5d2a5775eb0cc10 )
174
+ - [ Lumen] ( https://github.com/BKWLD/laravel-pug#use-in-lumen )
175
+ - [ Rails] ( https://github.com/yivo/pug-rails )
176
+
177
+ ### CMS plugins
178
+
179
+ - [ WordPress] ( https://github.com/welaika/wordless )
180
+
181
+ ## Additional Resources
156
182
157
183
- [ Emacs Mode] ( https://github.com/brianc/jade-mode )
158
184
- [ Vim Syntax] ( https://github.com/digitaltoad/vim-pug )
@@ -161,8 +187,6 @@ Other:
161
187
- [ html2pug] ( https://github.com/donpark/html2jade ) converter
162
188
- [ pug2php] ( https://github.com/SE7ENSKY/jade2php ) converter
163
189
- [ Pug Server] ( https://github.com/ded/jade-server ) Ideal for building local prototypes apart from any application
164
- - [ pug-ruby] ( https://github.com/yivo/pug-ruby ) gem: Allows to invoke Pug and Jade from Ruby
165
- - [ pug-rails] ( https://github.com/yivo/pug-rails ) gem: Integrates Pug and Jade into your Rails application
166
190
- [ cache-pug-templates] ( https://github.com/ladjs/cache-pug-templates ) Cache Pug templates for [ Lad] ( https://github.com/ladjs/lad ) /[ Koa] ( https://github.com/koajs/koa ) /[ Express] ( https://github.com/expressjs/express ) /[ Connect] ( https://github.com/senchalabs/connect ) with [ Redis] ( https://redis.io/ )
167
191
168
192
0 commit comments