Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Make includes works with filters #678

kizu opened this Issue · 4 comments

4 participants


The goal I want to achieve is to add ability to include the contents of the different files while filtering them through any filter available in Jade.

What I propose is to treat some extensions as filters, so if you'd do include or include foo.markdown the contents of this file would be included as if it was filtered through :markdown, if you'd include it would be filtered through coffee-script etc.

I think that such feature would be really convenient and useful, and it must be really easy to implement I hope.

tj commented

i think we had a request like this but im definitely +1


duplicate of #283

  include file.ext

will treat "include file.ext" as markdown filter's feed, so include is just plain text for markdown filter, so we may design this usage like below

:markdown include file.ext

so jade can treat include after :filter in the same line as real include.


That was partly done in #283, and there is also #853, so closing this issue.

@kizu kizu closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.