Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom delimiters not supported #13

Closed
adamkdean opened this issue Jan 15, 2015 · 1 comment
Closed

Custom delimiters not supported #13

adamkdean opened this issue Jan 15, 2015 · 1 comment

Comments

@adamkdean
Copy link

Look here: https://github.com/tj/ejs

Custom delimiters can also be applied globally:

var ejs = require('ejs');
ejs.open = '{{';
ejs.close = '}}';

Which would make the following a valid template:

<h1>{{= title }}</h1>

I thought koa-ejs supported all features? If so, howcome this isn't supported?

@adamkdean
Copy link
Author

Ignore this, they have to be set in the settings, and aren't accessible in the same was as ejs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant