zephraph / nunjucks-markdown

Markdown extension for Nunjucks. Use your own renderer!
MIT License
49 stars 12 forks source link

Pass context to included files #15

Closed nicolasartman closed 8 years ago

nicolasartman commented 8 years ago

It looks to me like the first argument to the -Tag functions is actually the full environment, so the context wasn't being passed to included templates correctly. Should be fixed and tested now.

internalfx commented 8 years ago

@zephraph LGTM

nicolasartman commented 8 years ago

thanks!

zephraph commented 8 years ago

:+1:

nicolasartman commented 8 years ago

@zephraph would you mind publishing a new version to npm when you get the chance? Thanks!