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
Is it possible to access example-specific variables in my out put file? For example, here is my output file now:
<div class="codeExample"> <div class="exampleOutput"> <%= rendered_example %> </div> <div class="codeBlock"> <div class="highlight"> <pre> <code><%= code_example %></code> </pre> </div> </div>
Can I do something like the following:
<div class="codeExample"> <div class="exampleOutput <%= name %>"> <%= rendered_example %> </div> <div class="codeBlock"> <div class="highlight"> <pre> <code><%= code_example %></code> </pre> </div> </div>
Which introduces an example-specific class into each code block? So maybe this would say typography if my .scss file shows:
/*doc --- title: Typography name: typography category: foundations ---
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
Did anyone find a solution for this? I would love to include the name variable in the rendered template files.
name
No branches or pull requests
Is it possible to access example-specific variables in my out put file? For example, here is my output file now:
Can I do something like the following:
Which introduces an example-specific class into each code block? So maybe this would say typography if my .scss file shows:
The text was updated successfully, but these errors were encountered: