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

Allow Jinja2 tags inside Markdown body #28

Closed
jeremydw opened this issue Apr 22, 2014 · 1 comment
Closed

Allow Jinja2 tags inside Markdown body #28

jeremydw opened this issue Apr 22, 2014 · 1 comment

Comments

@jeremydw
Copy link
Member

No description provided.

@jeremydw
Copy link
Member Author

This isn't supported by default, but rather explicitly. You can use {{doc.html|render}} to render the document's body as a Jinja2 template. Note that the template currently inherits the template context of the scope it's in. This decision was done to make using template tags inside Markdown more frictionless. It's also consistent with how Jekyll works.

Minor documentation: http://preview.growsdk.org/docs/documents/#html-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