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

Add @:include and @:embed Directives #163

Closed
jenshalm opened this issue Oct 12, 2020 · 0 comments
Closed

Add @:include and @:embed Directives #163

jenshalm opened this issue Oct 12, 2020 · 0 comments
Milestone

Comments

@jenshalm
Copy link
Contributor

It's time to add these directives given how easy they are to implement (it's just a merge of 2 ASTs).

Both directives allow to pass attributes to the embedded document via HOCON directive attributes, which can be accessed with standard substitution references.
The only difference is that @:embed also allows to pass text markup in the form of the directive body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant