Support code blocks in attr_list extension

TODO: fix so that it's trailing the code block rather than inside the code block; code blocks could contain the attr_list specifier