-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Feature request: {{<parent}} blocks #825
Comments
"blocks" (e.g. In this case, it was added to the Mustache spec a month after the most recent release of Mustache.js. |
Ahh okay, then I guess it's not a bug. This issue can be recategorized as a feature request. |
There was a previous PR for this |
Supporting the inheritance module in mustache.js would be amazing! This is the main thing that prevents me from using mustache in more complex projects. @janl are you open to a PR?
That one is 9 years old and looks like it should be updated to match the spec's optional inheritance module. Might be easier to start from scratch? |
The official mustache website describes
{{<parent}}{{/parent}}
blocks, which are basically partials, except they can contain overridable{{$block}}{{/block}}
sections. As far as I can tell, this feature is missing from this package.Reference: https://mustache.github.io/mustache.5.html#Parents
The text was updated successfully, but these errors were encountered: