block to codemirror and coloration