-
Notifications
You must be signed in to change notification settings - Fork 48
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
highlighting for {{@key}}? #31
Comments
Hey, I think this might be the same issue as #30 ? If you can please help out with a link to the relevant documentation about this that would be really appreciated! |
handlebars-lang/handlebars.js#250 (comment) this is the closest thing I can find right now and I don't know anything about using {{#each}} without a iterable, I meant that |
Ah right sorry, so you're after named object {{#each}} blocks! This has been on my list for a long time, but I've just taken another look and found the problem, but not quite sure yet how to solve it. Basically |
Thanks @utkarshkukreti 👍 |
You can use {{#each}} on objects, and you use {{@key}} to access the key of the current pair, currently it's just rendering plain white, which I believe is unintended?
The text was updated successfully, but these errors were encountered: