Skip to content

Commit 86f2806

Browse files
committed
🔥 Remove support for D2 diagrams in markdown
1 parent 070d6bb commit 86f2806

File tree

4 files changed

+6
-209
lines changed

4 files changed

+6
-209
lines changed

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- removed support for D2 diagrams in markdown content: the depndency made builds fail
13+
1014
## [1.6.0] - 2024-04-27
1115

1216
### Added
@@ -153,8 +157,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
153157

154158
- Initial release
155159

156-
[Unreleased]: https://github.com/ortfo/db/compare/v1.5.0...HEAD
157-
[1.6.0]: https://github.com/ortfo/db/-/releases/tag/v1.6.0
160+
[Unreleased]: https://github.com/ortfo/db/compare/v1.6.0...HEAD
161+
[1.6.0]: https://github.com/ortfo/db/compare/v1.5.0...v1.6.0
158162
[1.5.0]: https://github.com/ortfo/db/compare/v1.4.1...v1.5.0
159163
[1.4.1]: https://github.com/ortfo/db/compare/v1.4.0...v1.4.1
160164
[1.4.0]: https://github.com/ortfo/db/compare/v1.3.0...v1.4.0
@@ -168,5 +172,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
168172
[0.2.0]: https://github.com/ortfo/db/releases/tag/v0.2.0
169173

170174
[//]: # (C3-2-DKAC:GGH:Rortfo/db:Tv{t})
171-
172-
[unreleased]: https://github.com/ortfo/db/-/compare/v1.6.0...main

description.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
"github.com/zyedidia/generic/mapset"
2828

2929
// goldmarkFrontmatter "github.com/abhinav/goldmark-frontmatter"
30-
goldmarkD2 "github.com/FurqanSoftware/goldmark-d2"
3130
)
3231

3332
const (
@@ -50,7 +49,6 @@ var markdownParser = goldmark.New(
5049
extension.Typographer,
5150
extension.CJK,
5251
goldmarkHighlight.NewHighlighting(),
53-
&goldmarkD2.Extender{},
5452
),
5553
goldmark.WithRendererOptions(
5654
html.WithUnsafe(),

go.mod

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ require (
3535
)
3636

3737
require (
38-
cdr.dev/slog v1.6.1 // indirect
3938
github.com/Masterminds/goutils v1.1.1 // indirect
4039
github.com/Masterminds/semver/v3 v3.2.1 // indirect
4140
github.com/alecthomas/chroma v0.10.0 // indirect
42-
github.com/alecthomas/chroma/v2 v2.13.0 // indirect
4341
github.com/alessio/shellescape v1.4.2 // indirect
4442
github.com/atotto/clipboard v0.1.4 // indirect
4543
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
@@ -52,25 +50,17 @@ require (
5250
github.com/containerd/console v1.0.4 // indirect
5351
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
5452
github.com/dlclark/regexp2 v1.11.0 // indirect
55-
github.com/dop251/goja v0.0.0-20240220182346-e401ed450204 // indirect
56-
github.com/fatih/color v1.16.0 // indirect
5753
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
5854
github.com/go-git/go-billy/v5 v5.5.0 // indirect
59-
github.com/go-sourcemap/sourcemap v2.1.4+incompatible // indirect
60-
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
61-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
62-
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
6355
github.com/google/uuid v1.6.0 // indirect
6456
github.com/gosuri/uilive v0.0.4 // indirect
6557
github.com/huandu/xstrings v1.4.0 // indirect
6658
github.com/imdario/mergo v0.3.16 // indirect
6759
github.com/inconshreveable/mousetrap v1.1.0 // indirect
6860
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
6961
github.com/mailru/easyjson v0.7.7 // indirect
70-
github.com/mattn/go-colorable v0.1.13 // indirect
7162
github.com/mattn/go-localereader v0.0.1 // indirect
7263
github.com/mattn/go-runewidth v0.0.15 // indirect
73-
github.com/mazznoer/csscolorparser v0.1.3 // indirect
7464
github.com/mitchellh/copystructure v1.2.0 // indirect
7565
github.com/mitchellh/reflectwalk v1.0.2 // indirect
7666
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
@@ -87,23 +77,15 @@ require (
8777
go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 // indirect
8878
go.lsp.dev/protocol v0.12.0 // indirect
8979
go.lsp.dev/uri v0.3.0 // indirect
90-
go.opencensus.io v0.24.0 // indirect
91-
go.opentelemetry.io/otel v1.26.0 // indirect
92-
go.opentelemetry.io/otel/trace v1.26.0 // indirect
9380
go.uber.org/multierr v1.11.0 // indirect
9481
golang.org/x/crypto v0.22.0 // indirect
9582
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect
9683
golang.org/x/sync v0.7.0 // indirect
9784
golang.org/x/sys v0.19.0 // indirect
98-
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
99-
gonum.org/v1/plot v0.14.0 // indirect
10085
gopkg.in/warnings.v0 v0.1.2 // indirect
101-
oss.terrastruct.com/d2 v0.6.5 // indirect
102-
oss.terrastruct.com/util-go v0.0.0-20231101220827-55b3812542c2 // indirect
10386
)
10487

10588
require (
106-
github.com/FurqanSoftware/goldmark-d2 v0.0.0-20240222042550-23ef2a4e585c
10789
github.com/MakeNowJust/heredoc v1.0.0
10890
github.com/Masterminds/sprig/v3 v3.2.3
10991
github.com/PuerkitoBio/goquery v1.9.1 // indirect

0 commit comments

Comments
 (0)