Display Code Snippets in WordPress Without Plugin

With Gutenberg With the latest releases of Gutenberg, it is really simple to add code in a Wordpress post. Just click on Add Block and Search for "Code". Under the Formatting category, you can find a block named "Code". Select it and paste your code inside the block. That's it. If you don't have Gutenberg…