Hey Jaber,
That’s actually a really good feature request hahaha. Let me see if I can add this in a way that’s simple and clean and I’ll get back to you.
Also, you can try it out and see if you can make it work! Here’s the github repo.
This functionality seems to exist already, but it would be good if the plugin had it by default, since you need to structure your HTML tags a certain way for it to work .
https://www.ads-software.com/plugins/tinymce-code-button/
https://www.ads-software.com/plugins/navayan-tinymce-pretty-code/