We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Wondering if there's any interest in this. Here's my current use case:
I need to go through Handlebars templates and extract keys for i18n. Basically, it works like this:
Given this sample template:
{{#t "foo"}}Foo{{/t}}
The extracted keys would be:
{ foo: "Foo" }
So far, Handlebars.parse and friends have been extremely easy to work with.
Handlebars.parse
But, we do have some custom validation rules and being able to give the person running my extractor a line number would be extremely useful.
I'm opening this issue to gauge interest. I'd be happy to take a stab at implementing the pull request if I can figure it out.
The text was updated successfully, but these errors were encountered:
add line numbers to nodes when parsing
e187805
closes handlebars-lang#691
Released in 1.3.0
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Wondering if there's any interest in this. Here's my current use case:
I need to go through Handlebars templates and extract keys for i18n. Basically, it works like this:
Given this sample template:
The extracted keys would be:
So far,
Handlebars.parse
and friends have been extremely easy to work with.But, we do have some custom validation rules and being able to give the person running my extractor a line number would be extremely useful.
I'm opening this issue to gauge interest. I'd be happy to take a stab at implementing the pull request if I can figure it out.
The text was updated successfully, but these errors were encountered: