Open prbaron opened 10 years ago
I currently have this working by adding a text field to the plugin's dialog and storing the value in an attribute of the code snippet's pre
element. Then, I just use Javascript to extract the attribute into a new HTML element such as a div and then style it from there.
Did you have a specific implementation in mind?
I thought about this implementation too. But I would like to have a better way to add this.
Would be great to add titles to code snippet