Fix code block and caption format.