-
-
Notifications
You must be signed in to change notification settings - Fork 3
MarkdyScript Cheatsheet
Yell edited this page Aug 25, 2026
·
1 revision
Quick copy-paste syntax cheatsheet for MarkdyScript scenes.
scene "Scene Title" theme=paper width=1280 height=720
layout LR # Options: LR (Left-to-Right), RL, TB (Top-to-Bottom), BT
-
theme=paperβ Clean light documentation canvas (Default) -
theme=editorialβ Serif typography with refined ink lines and semantic accents -
theme=terminalβ Dark CLI/TUI canvas with neon monospace glow -
theme=midnightβ Deep modern dark developer canvas -
theme=blueprintβ Technical cyan CAD drafting grid -
theme=sketchyβ Organic hand-drawn whiteboard style -
theme=nebulaβ Deep-space cyberpunk canvas with orbit halos -
theme=graphiteβ Minimalist monochrome dark canvas
type=architecture (default) β’ type=flowchart β’ type=tree β’ type=state β’ type=sequence β’ type=layers β’ type=nested β’ type=swimlane β’ type=timeline β’ type=gantt β’ type=medallion β’ type=flywheel β’ type=constellation β’ type=quadrant β’ type=pyramid β’ type=radar β’ type=venn
# Syntax: <kind> <Id> ["Human Readable Label"]
browser WebApp "React SPA"
gateway ApiGateway "Envoy Gateway"
service AuthService "Auth & OAuth2"
service PaymentService "Stripe Checkout"
database Postgres "PostgreSQL 16"
cache Redis "Redis Cluster"
queue Kafka "Event Bus"
worker Transcoder "FFmpeg Worker"
storage S3 "Asset Bucket"
cdn Cloudflare "Edge CDN"
firewall WAF "AWS WAF Shield"
lambda Resize "Serverless Function"
pod OrderPod "order-pod-v2"
group ingress "Public Ingress": Cloudflare WAF
group core "Core Backend Services": ApiGateway AuthService PaymentService
group persistence "Data Stores": Postgres Redis
| Operator | Kind | Description |
|---|---|---|
-> |
Synchronous Request | Solid arrow with moving particle (defines layout rank) |
<- |
Synchronous Response | Dashed return arrow flowing backward (cycle-safe) |
~> |
Asynchronous Event | Dotted pub/sub or event emission arrow |
<-> |
Bidirectional Stream | Full-duplex WebSocket or socket connection |
==> |
Data Bulk Stream | Thick pipe for ETL, bulk replication, or WAL streams |
-.-> |
Dotted Probe | Heartbeat ping, liveness probe, telemetry beacon |
-- |
Structural Link | Static non-directional dependency line |
beat reveal "Initial Reveal":
show $nodes stagger=60ms
beat step1 "Process Checkout":
frame WebApp ApiGateway zoom=1.1
WebApp -> ApiGateway "POST /checkout"
ApiGateway -> AuthService "verify token"
ApiGateway <- AuthService "200 OK"
ApiGateway -> PaymentService "charge"
PaymentService -> Postgres "INSERT order"
PaymentService ~> Kafka "order.created"
WebApp <- ApiGateway "201 Created"
glow Postgres color=#10b981
-
show <target>: Reveal nodes or groups (stagger=50ms,dur=400ms). -
hide <target>: Fade nodes out. -
glow <target>: Highlight with colored beacon (color=#3b82f6,strength=1.5). -
focus <target>: Pulse-scale attention ring. -
frame <target>: Smoothly pan and zoom camera to fit targets (zoom=1.15). -
&: Run concurrent cues at the same instant (show A & show B).
Markdy is an open-source project by Hoang Yell Β· Licensed under MIT