Install the plugin. Select code block. Choose language. Example:
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!