Syntax-highlighting Code Block (with Server-side Rendering) – WordPress plugin | WordPress.org

This plugin extends to Code block in WordPress core to add syntax highlighting which is rendered on the server. By performing the syntax highlighting on the server, there is then no need to enqueue any JavaScript on the frontend (e.g. Highlight.js or Prism.js) and this ensures there is no flash of unhighlighted code (FOUC?). Reducing … Read moreSyntax-highlighting Code Block (with Server-side Rendering) – WordPress plugin | WordPress.org