shared-assets icon indicating copy to clipboard operation
shared-assets copied to clipboard

Error rendering embedded code

Open tatanala opened this issue 9 months ago • 1 comments
trafficstars

What information was incorrect, unhelpful, or incomplete?

Error rendering embedded code

Image

What did you expect to see?

correct rendering.

Do you have any supporting links, references, or citations?

no

Do you have anything more you want to share?

no

tatanala avatar Feb 12 '25 19:02 tatanala

Hi, thanks a lot for opening the issue. It looks like GitHub doesn't like the empty lines in sequences like:

Client->>Server:

Is something like this a good alternative:

%%{init: { "sequence": { "wrap": true, "noteAlign": "center" }} }%%

sequenceDiagram
    participant Client
    participant Proxy1 as Proxy
    participant Proxy2 as Proxy
    participant Server

    Client->>Server: Request
    Note left of Server: Resource compressed and returned
    Server->>Client: Response
    Note over Proxy1,Proxy2: Intermediate nodes do not uncompress the body
    Note over Client: Client decompresses the body

bsmth avatar Feb 13 '25 10:02 bsmth