Edit 3 : This is the behavior I have in screenshots and a ´fix´ for CodeBlock in Lists. Notes that I am working on the Intel Mac version on Ventura 13.1.