Index codeblocks to get pre tag