Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "engines", | ||
"version": "0.3.2", | ||
"description": "Template engine library for Assemble, based on consolidate.", | ||
"version": "0.3.3", | ||
"description": "Template engine library with fast, synchronous rendering, based on consolidate.", | ||
"repository": { | ||
@@ -18,6 +18,2 @@ "type": "git", | ||
{ | ||
"name": "Jon Schlinkert", | ||
"url": "https://github.com/jonschlinkert" | ||
}, | ||
{ | ||
"name": "Brian Woodward", | ||
@@ -71,10 +67,65 @@ "url": "https://github.com/doowb" | ||
"keywords": [ | ||
"assemble", | ||
"atpl", | ||
"cache", | ||
"compile", | ||
"consolidate", | ||
"content", | ||
"data", | ||
"delimiters", | ||
"delims", | ||
"docs", | ||
"documentation", | ||
"dot", | ||
"dust", | ||
"dustjs-helpers", | ||
"dustjs-linkedin", | ||
"eco", | ||
"ect", | ||
"ejs", | ||
"engine", | ||
"engines", | ||
"express", | ||
"front", | ||
"generate", | ||
"generator", | ||
"gray-matter", | ||
"haml-coffee", | ||
"hamljs", | ||
"handlebars", | ||
"hogan.js", | ||
"jade", | ||
"jazz", | ||
"jqtpl", | ||
"liquor", | ||
"lo-dash", | ||
"lodash", | ||
"markdown", | ||
"matter", | ||
"mocha", | ||
"mote", | ||
"mustache", | ||
"noop", | ||
"nunjucks", | ||
"parse", | ||
"parser", | ||
"parsers", | ||
"pass-through", | ||
"process", | ||
"qejs", | ||
"ractive", | ||
"render", | ||
"should", | ||
"swig", | ||
"template", | ||
"templates", | ||
"view" | ||
"templayed", | ||
"toffee", | ||
"underscore", | ||
"verb", | ||
"view", | ||
"walrus", | ||
"whiskers", | ||
"yaml" | ||
] | ||
} |
@@ -13,2 +13,4 @@ # engines | ||
Engines with strikethroughs are not yet supported or need to be updated. Pull requests to update them are welcome. | ||
- [atpl](https://github.com/soywiz/atpl.js) | ||
@@ -95,16 +97,13 @@ - ~~[dust](https://github.com/akdubya/dustjs) [(website)](http://akdubya.github.com/dustjs/)~~ | ||
Run `npm install assemble/assemble#v0.6.0`, then in your `assemblefile.js`, add the following: | ||
```js | ||
var assemble = require('assemble'); | ||
var engines = require('engines'); | ||
var engines = require('..'); | ||
// assign the handlebars engine to .hbs files | ||
assemble.engine('hbs', engines.handlebars); | ||
// assign the remarked engine to .md files | ||
assemble.engine('md', engines.remarked); | ||
// Configure assemble | ||
assemble.task('default', function() { | ||
assemble.src(['templates/*.hbs', 'content/*.md']) | ||
.pipe(assemble.dest('dist')) | ||
assemble.src('docs/*.hbs') | ||
.pipe(assemble.dest('dist')); | ||
}); | ||
@@ -111,0 +110,0 @@ ``` |
Sorry, the diff of this file is not supported yet
31564
48
834
123