We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm attempting to document some functions using Codo and my example code within comments is being evaluated.
The following is the beginning of a file called _partials/helpers.html which is a partial that I include elsewhere.
_partials/helpers.html
{{ # Create an alias. # # @example Create a selector alias for a single element. # # <!-- template.html --> # {{ sectionId = @createAlias 'section' }} # <section id="{{-sectionId}}"></section>
This causes the following: Fatal error: sectionId is not defined in helpers on line 8
Fatal error: sectionId is not defined in helpers on line 8
This is just one example that could be generalized in a test as:
{{ # {{- foo }} }}
The text was updated successfully, but these errors were encountered:
Obviously, I'm using {{ and }} for opening and closing tags.
{{
}}
Sorry, something went wrong.
My current workaround is this:
{{ # Create an alias. # # @example Create a selector alias for a single element. # # <!-- template.html --> # <% sectionId = @createAlias 'section' %> # <section id="<%- sectionId %>"></section>
No branches or pull requests
I'm attempting to document some functions using Codo and my example code within comments is being evaluated.
The following is the beginning of a file called
_partials/helpers.html
which is a partial that I include elsewhere.This causes the following:
Fatal error: sectionId is not defined in helpers on line 8
This is just one example that could be generalized in a test as:
The text was updated successfully, but these errors were encountered: