D2, aka Declarative Diagramming, is a text markup language created in 1995.
#2260on PLDB | 29Years Old |
D2 is a domain-specific language (DSL) that stands for Declarative Diagramming. Declarative, as in, you write in text what you want diagrammed, we generate it.
aws: {
load_balancer -> api
api -> db
}
gcloud: {
auth -> db
}
gcloud -> aws
explanation: |md
# Why do we use AWS?
- It has more uptime than GCloud
- We have free credits
| {
near: aws
}