-
Notifications
You must be signed in to change notification settings - Fork 211
Allow for csssuffix in options, like cssprefix #136
Comments
Custom selectors allow * to be used, so you can use that for after. filamentgroup/directory-encoder#1 We should definitely add docs for this, will open new ticket for that. |
Ah, nice! That could be more well documented. It looks like the only problem with that option though it that your selector would then look like this:
Unless you also used a custom template in which case you'd wind up with a trailing comma because of the
with a template like this:
|
hrm. I see what you're saying. Handlebars allows you to check if something is the last element in a list - handlebars-lang/handlebars.js#483 That should help with the template. |
Ah, very nice! 👍 to Senor @jlembeck. |
Currently the prefix allows you to convert this:
to this:
But it doesn't allow you to do this:
It would be nice if there was a suffix option as well so that a template could look like this:
The text was updated successfully, but these errors were encountered: