Fixed code highlighting and auto block detection with }]) endings