terrastruct / d2-docs Goto Github PK
View Code? Open in Web Editor NEWLanguage documentation and blog for D2.
Home Page: https://d2lang.com
License: BSD 3-Clause "New" or "Revised" License
Language documentation and blog for D2.
Home Page: https://d2lang.com
License: BSD 3-Clause "New" or "Revised" License
refresh, press cmd+k, type.
it's like hidden or something.
press escape, press cmd+k again, type.
it works normal
there is not 'style.border-radius:'
On the positions doc page, there is a section for longform descriptions. The code given is identical to the "Creating a legend" example:
https://github.com/terrastruct/d2-docs/blob/f4491caaabcc70d5f0670383e1a12d4e12f3cf08/docs/tour/positions.md
Each example should have a link to open the playground.
e.g.
when dark terrastruct flagship gets released
explanation: ||ts
export type UsableType = 'string' | 'number' | 'boolean'
||
Clicking on any "Edit this page" button on https://d2lang.com just shows a "Not Found" message.
Tested with the "edit this page" button on https://d2lang.com/tour/intro/
e.g.
a -> b: {
source-arrowhead.shape: cf-one
}
will do nothing.
especially wrt scenarios
and new api like reconnect
currently markdown elements have their css overwritten by docusaurus's css styles.
Using the example from the documentation page, the rendered image does not attempt to place the text next to the aws
block.
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
}
Instead, it renders the following for both svg and png outputs:
This behavior appears to be consistent for version 0.1.0 downloaded from terrastruct/d2/releases
and version 0.1.1 available from macOS homebrew.
instead of top. which is weird.
e.g. more detail on what they excel at
in Terrastruct
On the shapes page, it would be great if you showed rendered examples for every shape, with the name of that shape as the text inside the shape.
I found in the source code that there are block comments, but the documentation is silent about it.
x -> y
"""
This is a
block comments
"""
y -> z
References:
E.g. here's how you might construct a legend
which won't render in non-browser contexts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.