Skip to content

Commit

Permalink
🔥 Remove support for D2 diagrams in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ewen-lbh committed Apr 27, 2024
1 parent 070d6bb commit 86f2806
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 209 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- removed support for D2 diagrams in markdown content: the depndency made builds fail

## [1.6.0] - 2024-04-27

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

- Initial release

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

[//]: # (C3-2-DKAC:GGH:Rortfo/db:Tv{t})

[unreleased]: https://github.com/ortfo/db/-/compare/v1.6.0...main
2 changes: 0 additions & 2 deletions description.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
"github.com/zyedidia/generic/mapset"

// goldmarkFrontmatter "github.com/abhinav/goldmark-frontmatter"
goldmarkD2 "github.com/FurqanSoftware/goldmark-d2"
)

const (
Expand All @@ -50,7 +49,6 @@ var markdownParser = goldmark.New(
extension.Typographer,
extension.CJK,
goldmarkHighlight.NewHighlighting(),
&goldmarkD2.Extender{},
),
goldmark.WithRendererOptions(
html.WithUnsafe(),
Expand Down
18 changes: 0 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ require (
)

require (
cdr.dev/slog v1.6.1 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/alecthomas/chroma v0.10.0 // indirect
github.com/alecthomas/chroma/v2 v2.13.0 // indirect
github.com/alessio/shellescape v1.4.2 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
Expand All @@ -52,25 +50,17 @@ require (
github.com/containerd/console v1.0.4 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/dlclark/regexp2 v1.11.0 // indirect
github.com/dop251/goja v0.0.0-20240220182346-e401ed450204 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/go-sourcemap/sourcemap v2.1.4+incompatible // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gosuri/uilive v0.0.4 // indirect
github.com/huandu/xstrings v1.4.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mazznoer/csscolorparser v0.1.3 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
Expand All @@ -87,23 +77,15 @@ require (
go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 // indirect
go.lsp.dev/protocol v0.12.0 // indirect
go.lsp.dev/uri v0.3.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.19.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
gonum.org/v1/plot v0.14.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
oss.terrastruct.com/d2 v0.6.5 // indirect
oss.terrastruct.com/util-go v0.0.0-20231101220827-55b3812542c2 // indirect
)

require (
github.com/FurqanSoftware/goldmark-d2 v0.0.0-20240222042550-23ef2a4e585c
github.com/MakeNowJust/heredoc v1.0.0
github.com/Masterminds/sprig/v3 v3.2.3
github.com/PuerkitoBio/goquery v1.9.1 // indirect
Expand Down
Loading

0 comments on commit 86f2806

Please sign in to comment.