-
Notifications
You must be signed in to change notification settings - Fork 49
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
cannot use custom helpers within custom partial #38
Comments
please send me a simple test case (including code) to help me reproduce this, thanks. |
|
and how are you calling jsdoc2md? Can you send details of the command you are running.. thanks. |
I use it as a gulp-task:
|
where are you passing in the custom helper? The custom helper module should be passed into options.helper. |
At the moment I do not passing it into something, as it's registered within my own handlebars config, but nevertheless it's a good advice - I'm going to test it with also passing it into // Edit: passing my helpers also to the plugin worked like a charm - thanks a lot! :) |
Somehow I am not able to use my own registered handlebars helpers within my custom partial to render the docs.
I always get the following error:
where $ is actually a helper I wrote to enable all common logical operators.
How can I achieve a synergy between the jsdoc2md helper and my own helpers?
The text was updated successfully, but these errors were encountered: