How to paste code examples (css, html, js, etc.) in an article on wordpress?

I'm new to working on Wordpress, so we turn to You for help.
Previously worked at DLE the TinyMCE editor, where there was good function - insert example code via a separate button if I am not mistaken, this plugin codesample, while editing took place in the pop-up window, you can specify a language code:
5c9b4fe26313e694034837.png
Now on Wordpress.... I installed TinyMCE Advanced, but this plugin was not.... only the "formatted" paragraph.
Is it possible to get this editor inserting code example, as in the screenshot, if possible, how?
Perhaps there is some alternative editor to do something like that.
Thanks in advance to all for the response
March 19th 20 at 08:49
3 answers
March 19th 20 at 08:51
Solution
It is possible when choosing a method of inserting inline-block cancel insert additional obzats p after it, just to get up the field in the text string? - Abigayle commented on March 19th 20 at 08:54
@Abigayle, it seems to be possible... there are many different f-functions - Verne commented on March 19th 20 at 08:57
@Verne, I can't find in settings.... - Abigayle commented on March 19th 20 at 09:00
March 19th 20 at 08:53
In Wordpress 5+ from Gutenberg on Board there is a special block of code.
For WP without Gutenberg, you can use the type plugin Crayon Syntax Highlighter. But nobody forbids to use the plugin in version 5 because it has some useful properties (such as markup and syntax highlighting) + support for many languages.
March 19th 20 at 08:55
Try the plugin Crayon Syntax Highlighter or equivalents.

Find more questions by tags WordPressTinyMCEWYSIWYG