Match tt blocks to code blocks