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

Can we access markdown variables inside a template? #258

Open
sonniesedge opened this issue Feb 9, 2016 · 1 comment
Open

Can we access markdown variables inside a template? #258

sonniesedge opened this issue Feb 9, 2016 · 1 comment

Comments

@sonniesedge
Copy link

It would be great if we could access the documentation variables inside a template. So, in addition to the <%= rendered_example %> and <%= code_example %> variables, we might have <%= category %> and <%= name %>.

As a use case, being able to assign the current name as an ID would really help with our automated visual regression testing workflow.

@sonniesedge sonniesedge changed the title Accessing markdown variables inside template Can we access markdown variables inside a template? Feb 10, 2016
@ffoodd
Copy link

ffoodd commented Feb 17, 2016

I agree, I'd need an ID to add an accessible hide/show system on templates — which means using [aria-controls="ID"].

And there's probably other use cases out there :)

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

2 participants