I copied the ZenUML sample from https://mermaid.live to a “Code snippet” element on my Confluence page, told my “Mermaid diagrams viewer” element to use it, and it displayed the error:
Error while loading diagram: No diagram type detected matching given configuration for text: zenuml title Order Service Actor Client #FFEBE6 Boundary OrderController #0747A6 EC2 <> OrderService #E3FCEF group BusinessService { Lambda PurchaseService AzureFunction InvoiceService } Starter(Client) // POST /orders
OrderController.post(payload) { OrderService.create(payload) { order = new Order(payload) if(order != null) { par { PurchaseService.createPO(order) InvoiceService.createInvoice(order) } } } }
Syntax error in textmermaid version 10.9.0