10 Commits

Author SHA1 Message Date
Oddegamra
bb476d3901 fix: Initialize D2Scale configuration member
The D2Scale property of MarkConfig was never initialized, leading to a
default value of 0 being passed to the D2 renderer. This eventually led
to calling chromedp.ScreenshotScale with a scale value of 0. Chrome
doesn't like this, and never finishes the sceenshot operation.

Fixes #610
2025-06-12 11:59:40 +02:00
Jinming Wu, Patrick
f32dbbc04d fix: when using confluence cloud (with prefix) the /wiki keeps getting removed 2025-06-10 12:01:29 +02:00
Manuel Rüger
bf542ab684 fix: Config loading from file 2025-06-06 13:54:34 +02:00
Manuel Rüger
c57256cb7b Only use hyphenated versions of config keys 2025-06-06 02:31:17 +02:00
Manuel Rüger
3cc39ffe79 Add support for d2lang 2025-05-30 23:37:15 +02:00
Manuel Rüger
d1aee4d571 Migrate to urfave/cli/v3 2025-05-28 21:53:45 +02:00
Manuel Rüger
b7ef416472 Fix #594 2025-05-18 22:10:04 +02:00
Manuel Rüger
f24d8c8957 Fix lint issues detected by golangci v2 2025-04-02 16:42:32 +02:00
Rich Scott
b630876c22 More code fixes for unit-testing '--continue-on-error'
Signed-off-by: Rich Scott <richscott@sent.com>
2025-04-02 14:37:48 +02:00
Rich Scott
ddc0ab9fbf Restructure code for more testaability
Move a number of funcs/files in the top-level `main` package into a new
`util` package, so test logic can directly invoke functions like
RunMark(), etc.  The main.go has been trimmed down to minimal sizing,
with former supporting funcs moved into `util` package, so they
can be run by unit tests.

Signed-off-by: Rich Scott <richscott@sent.com>
2025-04-02 14:37:48 +02:00