With HK CodeBlock, you can add various features to code blocks. You must use the title feature to use the collapse feature. You can collapse the code block like this ...