vidageek / jaview

A template engine with less sucking
0 stars 0 forks source link

add filter syntax (similar to jade's) #24

Open jonasabreu opened 10 years ago

jonasabreu commented 10 years ago

This should work like this:

@filter { some code }

is translated to

result.append(filter("""
some code
""'))

and the filter must be added with a simple file present on the path.