Commit graph

32 commits

Author SHA1 Message Date
Alexander Wang
5ff1909935
container dimensions 2023-02-18 23:35:18 -08:00
Anmol Sethi
0bb56a83ef
watch: Fix duplicate logs and remove timestamps
Instead we log the duration each layer's full compilation took.
2023-02-16 06:09:57 -08:00
Alexander Wang
3ce28f3ac5
force appendix flag 2023-02-05 01:09:36 -08:00
Alexander Wang
bec0332619
update cli docs 2023-02-05 00:34:43 -08:00
Anmol Sethi
d80b2d3842
cli: Output layers under subdirectory 2023-01-27 11:01:16 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
Anmol Sethi
fe16543a6d
Dockerfile: Add playwright support for rendering PNGs
Closes #594
2023-01-24 01:14:30 -08:00
Anmol Sethi
5b4a20a6c6
d2plugin: Dedup plugins array
Closes #590
2023-01-03 14:48:23 -08:00
Alexander Wang
f10c7cfb5c
ok 2022-12-30 17:30:25 -08:00
Alexander Wang
c0eefc9447
ok 2022-12-30 17:28:21 -08:00
Alexander Wang
85e87c8c2c
add help 2022-12-30 13:19:48 -08:00
Alexander Wang
e6f9779e49
clean 2022-12-30 11:33:56 -08:00
Alexander Wang
fc5f58323c
add ctx, implement exec 2022-12-30 11:33:32 -08:00
Alexander Wang
35ccc05d39
refactor 2022-12-30 00:09:28 -08:00
Alexander Wang
eccec7afdd
elk 2022-12-29 22:43:01 -08:00
Alexander Wang
590caa243c
works 2022-12-29 21:11:45 -08:00
Alexander Wang
51e281d3f6
update tests 2022-12-28 16:42:22 -08:00
Alexander Wang
3aebfaf1d2
save 2022-12-27 20:29:51 -08:00
Alexander Wang
3a9a784342
wip 2022-12-21 23:13:52 -08:00
Alexander Wang
07fb1a3d86
implement sketch 2022-12-21 20:55:27 -08:00
Anmol Sethi
f7d63213c7
fmt 2022-12-18 12:26:58 -08:00
Anmol Sethi
cffb29c919
d2: Add trailing newline to svg output
The convention. Also makes log messages clearer when input/output is -
as without the newline, you get this occasionally:

</style><style type="text/css"><![CDATA[]]></style></svg>success: successfully compiled - to -
2022-12-18 11:08:30 -08:00
Alexander Wang
8feb4d4749
add pad option 2022-12-11 23:39:21 -08:00
Júlio César Batista
f9f02015e6
Merge branch 'master' into nested-sequence-diagrams 2022-12-01 14:03:35 -08:00
Anmol Sethi
07e316fac5
xmain: rm -rf 2022-12-01 11:48:49 -08:00
Anmol Sethi
cdffedb9df
pr292: Review fixes 2022-12-01 09:24:50 -08:00
Anmol Sethi
f7623a2057
main: Error on arguments to version subcmd 2022-12-01 09:24:48 -08:00
Anmol Sethi
fcb41107db
d2format: Expose in CLI under fmt subcommand
Closes #289
2022-12-01 09:24:48 -08:00
Anmol Sethi
c4ef432daf
Move textmeasure into lib
It's not a d2renderer.
2022-12-01 06:51:17 -08:00
Anmol Sethi
7565328e19
main: Use cmdlog API to enable timestamps 2022-12-01 01:45:14 -08:00
Anmol Sethi
f334ef5952
README: Cleanup examples to make them runnable and testable 2022-11-30 22:54:47 -08:00
Anmol Sethi
c55bf62438
d2: Move cmd to repo root
Closes #113
2022-11-30 21:16:02 -08:00
Renamed from cmd/d2/main.go (Browse further)