New issue 65 by Boris.Callens: Possibility to add custom markuprules?
In order to register custom markup rules it would suffice to create a
class that inherits from MarkupRule and then register it by adding by
running AddRule on NHamlMvcViewEngine.TemplateEngine.Options.
If I'm not mistaking currently this is impossible from outside the
NHamlMvcViewEngine because Template engine is protected.
By simply either making the TemplateEngine property public (get only) or
by propagating the AddRule method somewhere we could enable run-time
adding of custom rules.
This allows me to do
var nHamlMvcViewEngine = new NHamlMvcViewEngine();
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at: