BUGFIX: limit the height of code blocks to 500px