Use the Shortcode block to write shortcodes which produce blocks.
This shortcode displays the current version of WordPress and PHP being run on the server.
[wp v p]
WordPress 5.7.1. PHP: 7.3.27
- Suitable for shortcodes which produce blocks.
- Do not use for inline shortcodes.
- May fail to cater for new lines in block content.
- The shortcodes are not rendered in the editor but are invoked when the post is viewed.
- Shortcode blocks are almost impossible to use in columns.