-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Make it possible to pass custom Prism plugins #4
Comments
I think that’s a good idea, yeah. 👍 Maybe the |
Sounds good to me! |
I’m thinking plugins may want to expose multiple initializer arguments… Any recommendations stylistically on I think I like the latter better as it doesn’t seem to be as tightly coupled to the upstream plugin’s variable naming. The drawback there is that it has strict argument order ¯_(ツ)_/¯ |
I strongly prefer |
Can haz a way to pass custom Prism plugins to this 11ty plugin? Maybe this can be solved generically by allowing something like this in 11ty's plugin system:
For this particular plugin,
initializer
would be a function that gets called with thePrism
object as an argument. Users could then do something like:What do you think?
The text was updated successfully, but these errors were encountered: