Comments (2)
Hey @mariusGundersen , thanks for the feedback.
Maybe I'm not understanding your issue, but according to docs, to set the open and close tag, you use the options hash.
So in gulp-ejs would be:
gulp.src("./templates/*.ejs")
.pipe(ejs({
msg: "Hello Gulp!",
open: '{{',
close: '}}'
}))
.pipe(gulp.dest("./dist"));
Have you tried this?
from gulp-ejs.
The open and close options are not working.
from gulp-ejs.
Related Issues (20)
- comments in ejs? HOT 3
- Access to ejs global object HOT 1
- Setting `ext` doesn't change files extensions HOT 2
- a way to keep extension HOT 2
- Making pages based on layout HOT 1
- An in-range update of mocha is breaking the build 🚨 HOT 4
- gulp-data support? HOT 4
- An in-range update of prettier is breaking the build 🚨 HOT 2
- options.filename unset when using file.data.
- gulp-ejs library objective
- Update to ejs 2.4.1 breaks tests
- I cannot pass data when including public template HOT 2
- Using EJS View Helpers HOT 1
- Working with `gulp-data` HOT 3
- Report more details on error HOT 1
- Set root in options for absolute include paths HOT 6
- Problem with root option HOT 2
- Watcher freezing on error HOT 7
- Don't use ejs.render when options.client is true HOT 4
- Filename option not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-ejs.