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

Handlebars statements in code blocks are removed in custom helpers are included #437

Open
pzuraq opened this issue Jun 16, 2017 · 0 comments

Comments

@pzuraq
Copy link

pzuraq commented Jun 16, 2017

If options.helpers is set and custom Handlebars helpers are included, the second pass on the markup of examples with Handlebars removes all unregistered helpers entirely. In the case where some examples have been included in a code block in Markdown, like below, this will result in an empty code block.

/**
 * ```hbs
 * {{#test-component}}
 *   Some text
 * {{/test-component}}
 * ```
 */
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

1 participant