This plugin automatically beautify code blocks you write on gutenberg. Highlight.js created by Ivan Sagalaev. I just adapted it to wordpress.