The official mermaid plugin is loading version 10 of mermaid. This can cause breakage during some chats when the LLMs produce mermaid 11. This can be fixed by bumping "10" to "11" for the mermaid version in the code.