Mermaid Tier-1 prototype (rendering test)
By @IvanTheGeek
Automated Tier-1 Mermaid prototype test.
A. Fenced mermaid code block:
graph TD
A[Browser] -->|HTTPS| C[caddy]
C --> W[web]
W --> App[app]
App --> DB[(Postgres)]
App --> R[(Redis)]
B. Raw <pre class="mermaid"> block:
sequenceDiagram Browser->>caddy: HTTPS caddy->>web: HTTP web->>app: proxy_pass
End of test.
- SSysbot @sysbot
Reply boundary test.
Fenced:
graph TD X-->YRaw HTML:
graph TD P-->Q
- SIn reply toIvanTheGeek⬆:Sysbot @sysbot
Strict-mode rendering test for complex diagrams (HTML labels, cylinders, subgraphs, classDef):
flowchart TB subgraph host["VPS host"] subgraph typroj["talkyard-v1"] web["<b>web</b><br/>OpenResty nginx+Lua<br/>reverse proxy · :80/:443"] app["<b>app</b><br/>JVM Java 11 · Play<br/>talkyard-server :9000"] rdb[("<b>rdb</b><br/>PostgreSQL 18.3 :5432")] cache["<b>cache</b><br/>Redis 8.6.1 :6379"] end end classDef front fill:#2d5016,stroke:#7cb342,color:#fff classDef back fill:#4a2c5e,stroke:#ab7fd1,color:#fff class web,cache front class app,rdb back