Closed zephraph closed 9 years ago
Hey @tedw, I just tested this out and it seems to work for me.
If you add a gulpfile with the following configuration into the test directory and install gulp and gulp-nunjucks-render it successfully renders all the test files.
var gulp = require('gulp');
var nunjucksRender = require('gulp-nunjucks-render');
var markdown = require('../index');
gulp.task('default', function () {
var env = nunjucksRender.nunjucks.configure([__dirname]);
markdown.register(env);
return gulp
.src('templates/*.html')
.pipe(nunjucksRender())
.pipe(gulp.dest('dist'));
});
So either you don't have the latest version or you didn't configure things correctly. Could you retry with a similar setup and get back to me?
Thanks!
I'm going to assume this is fixed and close the issue. If you have problems still let me know.
@tedw, could you give me some information on your setup? A snippet of your gulp step for nunjucks rendering would be really helpful. Also any errors you're getting or a description of what's actually going on would be good too. Thanks!