-
Notifications
You must be signed in to change notification settings - Fork 82
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
Support usage indirection #90
Comments
@jamesarosen Interesting use case. We should try to come up with a nice pattern for this. Right now, the addon's snippet finder uses naive text matching during the build step to look for the opening and closing What you'd need to do right now is create separate snippet files and reference them by name in your I have been mulling over something that could be semi-related, so let me know if you want to chat / pair. |
Now that I think about it, perhaps I don't really want snippets for each of these. If they're really all variants on the same code, then I can do the code once at the top and then write all the instances as a table or a list or something. |
Ok. I'll close this in the meantime but continue to think this through. Cheers. |
I have 30 different icons whose docs each look like
I wanted to DRY that up with something like
While the
rendered
block shows up fine, the code snippet is blank.I also tried
with
with the same effect.
Is there something I can do to make ember-freestyle pick up the fact that I want each of those to get a usage snippet?
The text was updated successfully, but these errors were encountered: