This is a brush for Alex Gorbachev's SyntaxHighlighter, which is a small JavaScript library for general purpose code syntax highlighting. This brush adds support for Dockerfile.
Also included is a plugin for the SyntaxHighlighter Evolved plugin by Viper007Bond for integrating syntax highlighting directly into Wordpress.
The docker compose file will spin up a wordpress docker image and mount this plugin. You'll need to install the SyntaxHighlighter plugin on your own, and activate both plugins. And possibly check file permissions so www-data (uid:33) can read the plugin files.
docker-compose up
- The JavaScript was minified using Google's Closure Compiler.
- Docker syntax details shamelessly cribbed from ekalinin.
- New Brush for the WP plugin.
- New Brush for SyntaxHighlighter.