Easily post syntax-highlighted code to your WordPress site without having to modify the code at all. As seen on WordPress.com.
A major rewrite is currently occurring in the 4.0 branch. Go there if you want to see the current work in progress code.
When making changes in the blocks/ folder,
- Run
npm run devin a terminal to automatically re-transpileblocks/index.min.jswhen source files change. - Run
npm run buildto transpile and minifyblocks/index.min.jsfor distribution, as well as automatically update thelocatlizations/_syntaxhighlighter-template.po.