We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6dbe40 commit 08298cdCopy full SHA for 08298cd
1 file changed
lib/index.js
@@ -21,6 +21,7 @@ module.exports = (options = {}) => {
21
let subtree;
22
let source;
23
let locals = false;
24
+ let delimiters = options.delimiters || ['{{','}}'];
25
26
if (src) {
27
src = path.resolve(options.root, src);
@@ -33,7 +34,7 @@ module.exports = (options = {}) => {
33
34
35
if (locals) {
36
const result = posthtml()
- .use(expressions({locals}))
37
+ .use(expressions({locals, delimiters}))
38
.process(source, {sync: true});
39
source = result.html;
40
}
0 commit comments