Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easily extendable into a higher level "DSL" #85

Open
pgherveou opened this issue Oct 13, 2011 · 1 comment
Open

Easily extendable into a higher level "DSL" #85

pgherveou opened this issue Oct 13, 2011 · 1 comment

Comments

@pgherveou
Copy link

Hello thxs for this nice template engine

what's the recommended approach to extend the plugin DSL
right now I 'am embedding helpers in the hardcode option , but I would like to reuse some of them globally
I could wrap the compile or render methods but I am just wondering if this is the best way do to this

@ming-codes
Copy link

Your web framework should be doing this. For example, expressjs allows you to specify 'view options', which will be passed to the view's compile as options argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants