Plugin Light Code Block

Light Code Block is a simple and lightweight WordPress plugin that helps you easily insert code snippets into posts or pages and display them in a clean, readable format.

This plugin is ideal for bloggers, developers, or educators who need to showcase source code without extra complexity. Once installed, it adds a custom “LC” button to the Classic Editor (TinyMCE), and it also supports the Gutenberg editor via the Classic block.

Using the plugin is easy: click the “LC” button, paste or type your code into the popup window, and press OK. The code is automatically wrapped in a styled <pre> block and displayed with basic syntax formatting on the front end of your site.

Key Features:

  • Extremely lightweight and fast.
  • No external libraries or heavy scripts.
  • Seamless integration with the WordPress editor.
  • Clean design focused on readability.

Whether you're sharing CSS, JavaScript, PHP, or any other language, Light Code Block provides a no-fuss solution for displaying code on your website with minimal setup.