Easily post syntax-highlighted code to your WordPress site without having to modify the code at all. As seen on WordPress.com.
Supports the new Gutenberg editor!
Source code is located in the src folder. Run npm install to install all of the required modules.
When making changes to the block:
- Run
npm startto build a development version with file watching. - Run
npm run buildto build a minified production file.