In reply to https://css-tricks.com/code-blocks-but-better/. Used to use highlight.php …

In reply to https://css-tricks.com/code-blocks-but-better/.

Used to use highlight.php (a port of highlight.js) in combination with PHP’s DomDocument functions to parse WordPress posts’ `post_content`. That would get you halfway there.