Updated codeblock parser