You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Side note: It is exceptionally painful working with Eleventy and its plugins without type support. Looking over the progress in the main repository is rather disheartening, JSDoc typed modules do not suffice, it is just that simple.
It would be great to pass an additional keywords parameter which is then matched in the code to add highlight or bold.
This would then have the keywords matched and wrapped in a class that add special styling to make them bold.
I had a go at using the
init
option to try extend Prism, but wasn't sure how I could capture the keywords being passed.Does anyone know if this can already be done or otherwise how I might go about implementing something similar?
The text was updated successfully, but these errors were encountered: