docs(CHANGELOG): fix code snippets

A few snippets were not wrapped in code blocks.

Closes #2245