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
How to modify the {{ symbol in the expression as other symbols #1468
Comments
If I understand correctly, you want the syntax of handlebars to change from I'm not a contributor to the project but it looks like handlebars uses lex and yacc: https://github.com/wycats/handlebars.js/blob/master/src/handlebars.l This is the lex file, it converts text to representational symbols for use in the parser (yacc). If you want to change the characters which are matched for handlebars, then you'd have to replace the appropriate I'm not sure which syntax of |
Yes, that's what it means. As you say, you need to modify the source code instead of providing the external interface. |
You can escape |
The current template is JSX syntax, and any { will be parsed, causing errors, and any configuration to replace the { symbol
I didn't find it in the document. Maybe I wasn't careful enough.
The text was updated successfully, but these errors were encountered: