Commit graph

151 commits

Author SHA1 Message Date
Gavin Nishizawa
32fbe7e4a8
create simplelog Logger interface 2023-10-19 17:44:39 -07:00
Gavin Nishizawa
504eb2fa69
also remove dependency from png and xgif libs 2023-10-19 16:55:13 -07:00
Gavin Nishizawa
eba687fbbe
don't use xmain.State in imgbundler library 2023-10-19 16:06:12 -07:00
Alexander Wang
1d1bf24773
include input path name in failure msg 2023-09-25 15:20:17 -07:00
Maxime Brunet
b560e3b263
fix(cli): do not exit after 1st formatted file 2023-08-02 18:26:05 -07:00
Alexander Wang
a898e50211
fmt test 2023-08-02 11:39:29 -07:00
Alexander Wang
2ca39f8ed3
fmt 2023-07-29 14:34:19 -07:00
Alexander Wang
65f97fc7be
pr comments 2023-07-29 14:34:19 -07:00
Alexander Wang
7bea22e504
draft 2023-07-29 14:34:19 -07:00
Alexander Wang
477014d069
ignore invalid debug flag 2023-07-29 10:22:59 -07:00
Alexander Wang
45b396c894
config vars 2023-07-20 16:08:08 -07:00
Gavin Nishizawa
b18c7e28b5
copy 2023-06-26 13:46:44 -07:00
Gavin Nishizawa
65059546eb
use float for flag 2023-06-26 13:27:06 -07:00
Gavin Nishizawa
8563cf83c6
use scale flag for no-fit and customizing zoom 2023-06-15 16:47:26 -07:00
gavin-ts
c4ba2074de
Merge pull request #1392 from gavin-ts/custom-timeout
configure timeout with D2_TIMEOUT
2023-06-14 17:20:42 -07:00
Gavin Nishizawa
4a751b1bd5
copy 2023-06-14 16:30:29 -07:00
Gavin Nishizawa
e8254997c7
default 120 2023-06-14 16:09:01 -07:00
Gavin Nishizawa
d9cf6871aa
fix default value in flag description 2023-06-14 13:06:45 -07:00
Gavin Nishizawa
fcd4fefb64
move to timelib.WithTimeout 2023-06-14 13:06:40 -07:00
Gavin Nishizawa
19cc5ee0e2
util func for overriding default timeout according to env var 2023-06-13 17:37:24 -07:00
kayos@tcp.direct
7e4ed7ae82
Fix: struct literal uses unkeyed fields 2023-06-13 12:13:51 -07:00
Gavin Nishizawa
a5b87038bd
option to configure timeout with flag 2023-06-12 15:46:38 -07:00
Gavin Nishizawa
7547d51727
configure timeout with D2_TIMEOUT 2023-06-12 15:46:38 -07:00
Alexander Wang
6a27ba4895
display version 2023-06-12 01:18:45 -07:00
Alexander Wang
538812f928
Merge branch 'master' into imports 2023-06-07 15:38:52 -07:00
Anmol Sethi
111759f6bd
d2cli: Pass path for imports correctly 2023-06-06 13:44:41 -07:00
Alexander Wang
df7d6536e9
flag 2023-06-06 11:09:19 -07:00
Alexander Wang
c7f90cdaf1
fix empty base 2023-05-31 22:25:43 -07:00
sinyo-matu
f0e1e6238c
update favicon link element id 'favicon' 2023-05-07 12:49:32 +09:00
sinyo-matu
be6161d02e
update changeFavicon to only change the href attribute 2023-05-06 18:12:54 +09:00
sinyo-matu
5dfc80b2f2
add favicon error indicator 2023-05-06 17:31:01 +09:00
Júlio César Batista
ee93929750
Merge pull request #1204 from ejulio-ts/gh-1199-navbar
GH 1199: navbar links
2023-04-17 16:06:17 -03:00
Júlio César Batista
54d345c798
pptx board path 2023-04-17 15:54:52 -03:00
Júlio César Batista
583fa46cc5
refactor boardType 2023-04-17 15:15:41 -03:00
Júlio César Batista
ac1ea5f9e5
Merge pull request #1200 from ejulio-ts/gh-1151-gif
GH 1151: export GIF
2023-04-17 14:47:27 -03:00
Júlio César Batista
2373be7202
rename 2023-04-17 14:10:20 -03:00
Júlio César Batista
4bd44ec4b5
refactor ppt 2023-04-17 14:02:45 -03:00
Júlio César Batista
023bb82450
remove import 2023-04-17 10:51:31 -03:00
Júlio César Batista
bda5c933a3
format 2023-04-17 10:35:48 -03:00
Júlio César Batista
18494bee45
show message while generating gif 2023-04-17 10:25:40 -03:00
Júlio César Batista
07032da486
refactor 2023-04-17 10:15:52 -03:00
Júlio César Batista
ab81a15cfb
pr comments 2023-04-14 19:44:01 -03:00
Júlio César Batista
7918f265d4
navbar on pptx 2023-04-14 19:25:01 -03:00
Júlio César Batista
a15bc2d687
add constants 2023-04-14 17:11:28 -03:00
Júlio César Batista
6f18b232b9
navbar on pdfs 2023-04-14 17:02:40 -03:00
Júlio César Batista
00ed4ca75b
export root 2023-04-14 15:08:18 -03:00
Júlio César Batista
8b3fea259c
export gifs 2023-04-14 10:35:14 -03:00
Alexander Wang
5e552fafe9
relative paths 2023-04-13 17:45:19 -07:00
Júlio César Batista
9fc5a5f4ce
wip gif export 2023-04-13 18:50:39 -03:00
Júlio César Batista
22f03b8f48
add exportExtension 2023-04-13 16:03:56 -03:00
Júlio César Batista
9b3b43eb50
Merge pull request #1168 from ejulio-ts/gh-821-ppt-links
GH 821: links on pptx
2023-04-11 14:54:13 -03:00
Júlio César Batista
cbd1afeaef
pr comments 2023-04-11 10:25:04 -03:00
Gavin Nishizawa
e51429749a
custom semibold font option 2023-04-10 15:06:26 -07:00
Júlio César Batista
8322261d24
fix conflicts 2023-04-10 17:18:22 -03:00
Júlio César Batista
ac0c9105ff
Merge branch 'gh-821-ppt' into gh-821-ppt-links 2023-04-10 16:40:46 -03:00
Júlio César Batista
4613ea3635
return svg 2023-04-10 15:51:38 -03:00
Júlio César Batista
6993c0e557
PR comments 2023-04-10 11:45:04 -03:00
Júlio César Batista
38cafc9d40
Merge branch 'master' into gh-821-ppt 2023-04-10 11:05:24 -03:00
Júlio César Batista
da14037466
add links to pptx 2023-04-09 20:29:27 -03:00
Alexander Wang
b3b97d1a46
fix watch mode 2023-04-08 11:34:48 -07:00
Júlio César Batista
ff7438fc2a
Merge branch 'master' into gh-821-ppt 2023-04-07 18:12:50 -03:00
Alexander Wang
c8dc0f94a2
fix empty layer 2023-04-07 10:50:13 -07:00
Júlio César Batista
4b2041f759
minor refactor 2023-04-06 11:04:17 -03:00
Júlio César Batista
e4bbc26959
minor fixes for MS PowerPoint 2023-04-06 11:01:44 -03:00
Júlio César Batista
eb2518c0e4
rename and docs 2023-04-05 15:35:03 -03:00
Júlio César Batista
f0adecf1dc
metadata 2023-04-05 15:22:12 -03:00
Júlio César Batista
ace4715f04
update title 2023-04-05 11:40:21 -03:00
Júlio César Batista
0f362c3024
slide title 2023-04-04 18:47:22 -03:00
Júlio César Batista
3a5c389d2b
fix size and position 2023-04-04 18:00:45 -03:00
Júlio César Batista
d4feac75b4
add pptx export 2023-04-04 16:44:57 -03:00
Gavin Nishizawa
c74e0ec656
have watch mode parse svg message correctly 2023-03-31 14:15:17 -07:00
Alexander Wang
bac73e2f29
link SVGs 2023-03-30 18:00:55 -07:00
Alexander Wang
2f57ea5ca2
accept font input 2023-03-29 17:29:30 -07:00
Alexander Wang
f30efc5f62
animate-interval 2023-03-26 21:34:41 -07:00
Alexander Wang
579bbace03
print msg when png and layout in progress 2023-03-18 15:29:46 -07:00
Alexander Wang
2e661bf399
Merge branch 'master' into browser-flag 2023-03-18 12:49:17 -07:00
Alexander Wang
efc85915c6
change flag to string 2023-03-18 00:48:18 -07:00
Alexander Wang
98e61995e4
center flag 2023-03-17 22:32:48 -07:00
Alexander Wang
396df43581
fix watch title 2023-03-17 20:32:45 -07:00
Alexander Wang
f74e260624
browser flag 2023-03-17 20:10:44 -07:00
Alexander Wang
4c8c2b1ab5
define new theme 2023-03-15 17:54:34 -07:00
Alexander Wang
0292ea2627
add exif to png 2023-03-13 17:58:47 -07:00
Alexander Wang
d1040bf4f8
save 2023-03-13 17:52:50 -07:00
Anmol Sethi
7cd821feb7
d2cli: Accept abspaths again
Fixes https://github.com/Homebrew/homebrew-core/pull/124831/files#r1125738853
2023-03-05 14:03:06 -08:00
Anmol Sethi
8262ac6d74
e2etests-cli: Add stdin test
Closes https://github.com/terrastruct/d2-vscode/issues/56
2023-03-03 12:56:10 -08:00
Alexander Wang
e6644549be
implement internal links in PDF 2023-03-02 23:17:29 -08:00
Anmol Sethi
4433f4bbae
e2etests-cli: Add multiboard test 2023-03-02 20:35:50 -08:00
Anmol Sethi
9227021bc9
e2etests-cli: Add PNG test
Closes #903
Closes #918
2023-03-02 19:50:00 -08:00
Gavin Nishizawa
1e3af72666
just use inner svg in watch mode 2023-02-28 16:34:15 -08:00
Bernard Xie
5e2ce123fc
pass viewbox coords in 2023-02-28 14:14:38 -08:00
Bernard Xie
a85a225c73
reverts 2023-02-28 12:45:00 -08:00
Bernard Xie
e8a473f0fd
working 2023-02-28 12:40:07 -08:00
Bernard Xie
202575cb83
Merge branch 'master' into pdf-link-overlay 2023-02-28 10:19:04 -08:00
Gavin Nishizawa
6ce46d8cee
also set dimensons for PDF rendering 2023-02-27 20:27:18 -08:00
Bernard Xie
f327a23cc5
wip 2023-02-27 20:02:33 -08:00
Bernard Xie
349fac7193
Fix when using theme colors 2023-02-27 19:50:30 -08:00
gavin-ts
61e0577950
Merge pull request #931 from gavin-ts/fix-png-export
Fix png export
2023-02-27 19:27:39 -08:00
Gavin Nishizawa
2782432d85
disable fit to screen and set exact dimensions on svg for png export 2023-02-27 19:22:02 -08:00
Bernard Xie
6ac07a3eda
Update main.go 2023-02-27 16:21:24 -08:00
Bernard Xie
7dee1e82f6
Update main.go 2023-02-27 16:19:52 -08:00