Skip to content
This repository

Doc update: note differences from node.js jade implementaton #6

Closed
timgilbert opened this Issue · 1 comment

2 participants

Tim Gilbert Syrus Akbary
Tim Gilbert

Hi, just wanted to note that the documentation (eg, README.md) could use a brief list of features that differ between the node.js version of jade and the one that this module supports.

In particular, one small thing that surprised me initially was that the jade #{interpolate} syntax isn't translated by pyjade into the native syntax in its target template language (in my case, I'm using the Jinja2 extension so the native syntax is {{interpolate}}).

I also have no idea whether the node.js include and extends features are supported. Since that sort of thing is so template-engine dependent, I'm assuming not, but it would be nice if the README specified clearly one way or another.

Ultimately this stuff isn't very difficult to find out, but updating the docs to reflect the state of the code would be helpful people using this package. (Also, thanks, I like pyjade.)

Tim Gilbert

Oh, I just noticed that extends and block are supported, at least in Jinja2. A little list would be still be nice though, and something pointing what to use instead of the #{} syntax.

Syrus Akbary SyrusAkbary closed this issue from a commit
Syrus Akbary Fixed #6
Updated README.md for notify interpolation is not directly supported
851500d
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.