jsblocks
jsblocks copied to clipboard
Add option for changing the default template symbols
The current ones are {{
and }}
. The idea is to have mechanism to change those so you can't avoid collisions with other frameworks.
I have a suggestion to use
blocks.startChar = '[';
blocks.endChar = ']';
as options.
this will change the characters to [[ ]]
or any string a user chooses.
so the default is
blocks.brackets = '{ }';
Nope. The default should be blocks.brackets = '{{ }}';