Most syntax highlighters use either shortcodes or make you add some obscure CSS classes to all
<pre> tags that you want to highlight. Even WordPress.com does that.
Introducing Code Prettify Syntax Highlighting Plugin
<pre> tags on the page, detects the correct language and lazy-loads the necessary syntax module, and applies the highlighting.
No shortcodes, no custom CSS classes — just magic.