added support for pagination, updated code highlight colours