-
Notifications
You must be signed in to change notification settings - Fork 567
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
Update docs to include filters #286
Comments
I've been trying to get this to work for an hour or so now. I'm not sure how to use it based on the docs. Is it:
|
It is the second one. Also super cool use of interpolated strings in your config! |
I couldn’t get this to work. I had to use the original syntax before registerFilter was introduced. That syntax doesn’t allow for a negative match, so I ended up having to add a value for inclusion vs. exclusion. That’s not really ideal. I also couldn’t get “scss/icons” to work. I’m not sure what my token file needs to look like. I tried “F101”, “/F101”, “//F101” and the html escaped version like I found in a token file in one of the examples, but it didn’t work. If you’d like I can open new tickets for both of these with more info and once I get them resolved I can tackle this ticket with a PR. I just need some help getting things working first. Thanks for the quick response! |
Yea that would be great if you could open 2 issues. In the filter one can you post your full code for that file, and any errors you are getting? Thanks! |
@gearsandcode Just checking in - if you could open tickets for these that would be super useful for us to start investigation and commentary on them. No PRs required! :-D I can open them as well, but would prefer if you did it as you will represent your issues better. |
Closing this as we have 2 new issues tracking this. |
The
.registerFilter
function is documented in the API, but we don't really explain the concept of filtering in the docs very well.The text was updated successfully, but these errors were encountered: