73 Commits

Author SHA1 Message Date
Dreampuf
d9d560eda0 Add support for mermaid via library
Implementation is largely based on: https://github.com/kovetskiy/mark/pull/167

Co-Authored-By: Manuel Rueger <manuel@rueg.eu>
2023-04-25 23:59:17 +02:00
Manuel Rüger
262853f6c0 Simplify config handling
* Switch to urfave/cli/v2
* Add more environment variables
2023-04-20 14:34:55 +02:00
Manuel Rüger
eade059cad Update to go 1.20 2023-04-03 13:21:40 +02:00
Manuel Rüger
a3dc8bed05 Replace blackfriday with goldmark
This change replaces the unmaintained blackfriday markdown renderer with the
goldmark renderer.
The goal is to have wider support for more markdown extensions and ideally
have a better solution for mermaid transformation via extensions as well.
2023-03-27 20:36:43 +02:00
Lucas Oskorep
30b0785fae feat: moving to IsTextFile for file type detection 2023-03-22 19:14:34 -04:00
Manuel Rüger
ca2dbe5fc4 Dockerfile: Freeze builder image versions 2023-02-21 14:46:42 +01:00
Manuel Rüger
cd08a70ba9 .github: Build with go 1.19 2023-01-27 11:40:46 +01:00
Manuel Rüger
fb8213bc0d go.mod: Update dependencies 2023-01-26 09:49:40 +01:00
Manuel Rüger
78345736d5
go.mod: Update dependencies (#211)
Also switch to yaml.v3
2022-10-19 20:43:12 +06:00
Will Gorman
5d2c1b0d84
Fix builds on go 1.18 (#206)
Avoids errors like "../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200116001909-b77594299b42/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable"
2022-06-21 10:30:22 +06:00
Joey Freeland
851a8047f3
feat: update to go 1.17 (#147) 2021-12-27 16:35:22 +06:00
Florent Monbillard
cc98590e9d
Update golang crypto library to fix CVE-2020-29652 (#131) 2021-11-03 11:41:51 +06:00
Egor Kovetskiy
11e7e82671 do not skip tls cert verification by default 2021-08-11 10:16:37 +03:00
Egor Kovetskiy
bf4bbbe20a use my fork of blackfriday
Turns out the PR to the upstream is not merged and looks like the
maintainers didn't have a chance to merge it. The `replace` directive
causes some problems: https://github.com/kovetskiy/mark/issues/71
2021-03-11 09:00:45 +03:00
Egor Kovetskiy
3d95418d9f use fork of blackfriday until the upstream is fixed 2021-02-09 06:55:49 +03:00
Egor Kovetskiy
c22c6c1e43 tidy up go modules 2021-02-02 17:45:36 +03:00
Egor Kovetskiy
7f6466a882 upgrade to blackfriday v2, fixes #53 and #61, add tests 2021-02-02 17:44:56 +03:00
Egor Kovetskiy
e190cdfb34 rollback #53 because of #63, add tests 2021-02-02 17:44:56 +03:00
Juho Saarinen
63fe97beaa
Support for relative links (#33)
* Support for relative links

Fixes #25

* Error logging fixes

* Better regexp
2020-11-30 10:47:46 +03:00
Egor Kovetskiy
055af49f89 update api dependencies 2020-11-05 13:44:12 +03:00
Egor Kovetskiy
ec4b258635 trace level is very verbose now 2020-11-03 17:14:33 +03:00
Egor Kovetskiy
b654795a32 bump to 3.0 2020-07-25 11:09:06 +03:00
Nick Klauer
f437e47039
Add Go Module Support (#18)
* feat: 🔧 add module support

* fix: 🔧 more go module stuff
2020-03-06 13:43:53 +03:00