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
As discussed in #910 it would be helpful if the show language plugin would be replaced by a more generic version that can add different custom labels to a prism instance.
Some features could be:
add multiple custom labels
auto-add language (if desired)
add a div to collect all labels (could be used as a bar on top or bottom, but could also be ignored, so that individual items can be styled, whatever a user wants)
There could be some overlap with the toolbar plugin from #891
The question is, if it would make sense to combine it with the toolbar or if they are to different in the idea. I think we should still try to keep it as small and simple as possible.
The text was updated successfully, but these errors were encountered:
I think the main difference between the show-language plugin & the toolbar plugin is the styles, honestly. I do know, for now, they don't play well together, so perhaps one should supersede the other.
As discussed in #910 it would be helpful if the show language plugin would be replaced by a more generic version that can add different custom labels to a prism instance.
Some features could be:
config
from Option to default to line-number for all code blocks #912 should be implemented, this plugin could use a config option to receive all items it should grabThere could be some overlap with the toolbar plugin from #891
The question is, if it would make sense to combine it with the toolbar or if they are to different in the idea. I think we should still try to keep it as small and simple as possible.
The text was updated successfully, but these errors were encountered: