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

Add option for changing the default template symbols #77

Open
astoilkov opened this issue Jul 30, 2015 · 4 comments
Open

Add option for changing the default template symbols #77

astoilkov opened this issue Jul 30, 2015 · 4 comments

Comments

@astoilkov
Copy link
Owner

The current ones are {{ and }}. The idea is to have mechanism to change those so you can't avoid collisions with other frameworks.

@gnguyo
Copy link

gnguyo commented Jul 30, 2015

I have a suggestion to use

  blocks.startChar = '[';
  blocks.endChar = ']';

as options.

this will change the characters to [[ ]] or any string a user chooses.

@astoilkov
Copy link
Owner Author

I like how Riot does it. I suggest something like this:

blocks.brackets = '[ ]';

@gnguyo
Copy link

gnguyo commented Jul 30, 2015

so the default is
blocks.brackets = '{ }';

@astoilkov
Copy link
Owner Author

Nope. The default should be blocks.brackets = '{{ }}';

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

No branches or pull requests

2 participants