CrowdHailer / raxx

Interface for HTTP webservers, frameworks and clients
https://hexdocs.pm/raxx
Apache License 2.0
401 stars 29 forks source link

Add line numbers from template to view. #132

Open CrowdHailer opened 5 years ago

CrowdHailer commented 5 years ago

I think just a case of passing line as an option to EEx.compile_

There are some issues with generating a single AST from multiple templates, i.e. wrapping the layout. Here is some experiments https://github.com/CrowdHailer/raxx/commit/db747cb73f30a00aa4a392faf08f0b15ebb5d643