Support using helpers in .markdown content files #76

Open
sethmcl opened this Issue Mar 27, 2013 · 1 comment

2 participants

@sethmcl

Unless I am missing something, it appears that you cannot currently use a helper from a markdown content file. I would like to be able to do something like this:

{{#code}}
var foo = a;
// code examples...
{{/code}}

Where code is a custom helper to style my code examples nicely. Is there a way to do this today? If not, could you consider adding this functionality?

@adrinux

I believe the suggested approach for this right now is to build a custom parser, see this comment #57 (comment)

(I share your frustration, it does seem like helpers should work on content as well as templates. Doesn't work that way right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment