Metadata-Version: 2.4
Name: tree-sitter-handlebars
Version: 0.1.1
Summary: Handlebars is largely compatible with Mustache templates. In most cases it is possible to swap out Mustache with Handlebars and continue using your current templates.
Author-email: Benny Powers <web@bennypowers.com>
License: MIT
Project-URL: Homepage, https://github.com/bennypowers/tree-sitter-handlebars
Keywords: incremental,parsing,tree-sitter,handlebars
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: core
Requires-Dist: tree-sitter~=0.24; extra == "core"
Dynamic: license-file

# tree-sitter-handlebars

[![CI][ci]](https://github.com/bennypowers/tree-sitter-handlebars/actions/workflows/ci.yml)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-handlebars)
[![crates][crates]](https://crates.io/crates/tree-sitter-handlebars)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-handlebars)

[Handlebars](https://handlebarsjs.com/) template grammar for
[tree-sitter](https://github.com/tree-sitter/tree-sitter).

Exposes a named `text` node for all HTML/non-template content between Handlebars
constructs, suitable for secondary HTML parsing in LSP tooling.

## References

- [Handlebars Language Guide](https://handlebarsjs.com/guide/)
- [Handlebars Expressions Spec](https://handlebarsjs.com/guide/expressions.html)

[ci]: https://img.shields.io/github/actions/workflow/status/bennypowers/tree-sitter-handlebars/ci.yml?logo=github&label=CI
[npm]: https://img.shields.io/npm/v/tree-sitter-handlebars?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-handlebars?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-handlebars?logo=pypi&logoColor=ffd242
