twitter / hogan.js

A compiler for the Mustache templating language
http://twitter.github.io/hogan.js
Apache License 2.0
5.14k stars 431 forks source link

Support compilation options in hulk #168

Closed jfsiii closed 3 years ago

jfsiii commented 10 years ago

Currently, hulk doesn't allow the user to provide any compilation options. This prevents hulk, for example, from processing templates with special delimiters or section tags.

I'm not sure how this would be accomplished. Perhaps it's reasonable to supply these values via the command line, but I think that could get ugly.

I think a JSON file containing the values is reasonable. Either (or both?) a .hoganrc file or a --config flag which specified a path to the settings file.

sayrer commented 10 years ago

Sounds good to me.