you can use a codegroup within Enlighter v3 or a static title added manually
I have the latest version.
Can you please tell me how to add it manually. I tried my best with no luck.
Thank you.
add a title like h4 above the Enlighter codeblock, insert your title, and maybe applly some additional styles to match the theme
That would not be best practice. Is it possible that we have an option for manual adding code to every codeblock. That would make it the best.
Can you tell me about the codegroup. Will that give me the language above the codeblock?
Thank you. I love your work.
that’s not possible due to the software architecture. dedicated metadata fields (like titles, filesize, url) will become available in the upcoming pro/enterprise editions which will be released this year.
codegroups can be used to display a single text message above the codeblock – please read the docs: https://github.com/EnlighterJS/Plugin.WordPress/blob/v3/docs/Usage_VisualEditor.md#codegroups
just use a unique codegroup id for each block
I used the codeblock and it works perfect, for example:
group1
CSS
group2
HTML
group3
CSS
Works perfect. I hope you keep the codegroup in the next major version, otherwise my hours will be wasted if I need to update the plugin. Because I edited all my posts with the codegroup for each block hehehe.
Great to hear! The features keep the same, just the styling of the codeblocks will change (v4 beta1 is available on GitHub, just try it)