Displaying math formulas on your website doesn’t have to be a challenge. Not when you can use plugins such as KaTex to get it done. This is a handy plugin that lets you display complex math equations on your website with a simple shortcode. You can serve it yourself or through a third party CDN.
This plugin is Gutenberg compatible. It not only has a katex shortcode but supports latex shortcodes for better compatibility with other plugins. Katex is available as a free download.