WordPress question: Convert preformatted block into code block?

Does anyone know a plug-in or method to convert a preformatted block into a code block? Since the Gutenberg editor was introduced, there has been a new type of block specially for code. All my old articles use with preformatted or a plug-in. I want to go in and clean them all up and use the current, modern WordPress features.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.