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