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

Comments

1 participant
@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

This comment has been minimized.

Copy link
Owner

Keats commented Dec 9, 2016

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

@Keats

This comment has been minimized.

Copy link
Owner

Keats commented Dec 9, 2016

Closed by #87

@Keats Keats closed this Dec 9, 2016

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