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

How do you set new delimiters? #61

Closed
NathanClassen opened this issue Aug 9, 2021 · 2 comments
Closed

How do you set new delimiters? #61

NathanClassen opened this issue Aug 9, 2021 · 2 comments

Comments

@NathanClassen
Copy link

NathanClassen commented Aug 9, 2021

The documentation says that changing delimiters is a supported feature, but I am not seeing how to set new delimiters?

Is there a method for this? The Template type is all un-exported so one cannot create a template and set the tags that way either.

@cbroglie
Copy link
Owner

You set the delimiter in the template itself, not the code. See the Set Delimiter section of https://mustache.github.io/mustache.5.html.

@NathanClassen
Copy link
Author

Ah, I see. I am coming from a Java Mustache engine that let you set the delimiters on the engine itself.

Thanks for the response!

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

2 participants