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 a magical variable that dumps the context #74

Closed
Keats opened this issue Nov 18, 2016 · 2 comments
Closed

Add a magical variable that dumps the context #74

Keats opened this issue Nov 18, 2016 · 2 comments
Milestone

Comments

@Keats
Copy link
Owner

Keats commented Nov 18, 2016

Something like __tera_context.
Useful when you are not entirely what the context is, like when I'm writing templates with Hugo and I have no clue what is available.

It will need to be able to pretty print the JSON context

@Keats Keats modified the milestone: 0.5 Nov 29, 2016
@Keats
Copy link
Owner Author

Keats commented Dec 9, 2016

Turns out serde_json includes a pretty printer so that one was easy

@Keats
Copy link
Owner Author

Keats commented Dec 9, 2016

Closed by #87

@Keats Keats closed this as completed Dec 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant