zephraph / nunjucks-markdown

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

Refactor markdown tag to enable inner templates #3

Closed zephraph closed 9 years ago

zephraph commented 9 years ago

Currently when markdown text is rendered in a tag it's treated like raw data. I'd like to refactor the parser so it handles internal tags.

It'll allow for using templates within markdown as follows:

{% markdown %}{% include "content/readme.md" %}{% endmarkdown %}
ivan-kleshnin commented 9 years ago

+1 for this

zephraph commented 9 years ago

Should work as of v0.6.0

ivan-kleshnin commented 9 years ago

Wow, great! :thumbsup: I'll check it out as soon as possible. Keep up!