diff --git a/README.md b/README.md index d29f562..1ee9550 100644 --- a/README.md +++ b/README.md @@ -778,13 +778,13 @@ brew install mark ### Go Install / Go Get ```bash -go install github.com/kovetskiy/mark/cmd/mark@latest +go install github.com/kovetskiy/mark/v16/cmd/mark@latest ``` For older versions ```bash -go get -v github.com/kovetskiy/mark/cmd/mark +go get -v github.com/kovetskiy/mark/v16/cmd/mark ``` ### Releases @@ -818,7 +818,7 @@ USAGE: mark [global options] VERSION: - v15.2.0@1c82927c11a2999a39e5052aae6d2c65a201260c + v15.5.0@9a26f657c7f2d708ae53722cad03b048c72c9db2 DESCRIPTION: Mark is a tool to update Atlassian Confluence pages from markdown. Documentation is available here: https://github.com/kovetskiy/mark diff --git a/attachment/attachment.go b/attachment/attachment.go index cc6eadf..1003db4 100644 --- a/attachment/attachment.go +++ b/attachment/attachment.go @@ -16,8 +16,8 @@ import ( "strconv" "strings" - "github.com/kovetskiy/mark/confluence" - "github.com/kovetskiy/mark/vfs" + "github.com/kovetskiy/mark/v16/confluence" + "github.com/kovetskiy/mark/v16/vfs" "github.com/reconquest/karma-go" "github.com/reconquest/pkg/log" ) diff --git a/cmd/mark/main.go b/cmd/mark/main.go index 1c4d5e5..53c2853 100644 --- a/cmd/mark/main.go +++ b/cmd/mark/main.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/kovetskiy/mark/util" + "github.com/kovetskiy/mark/v16/util" "github.com/reconquest/pkg/log" "github.com/urfave/cli/v3" ) diff --git a/d2/d2.go b/d2/d2.go index aa2dc89..dc64683 100644 --- a/d2/d2.go +++ b/d2/d2.go @@ -13,7 +13,7 @@ import ( "github.com/chromedp/cdproto/dom" "github.com/chromedp/chromedp" - "github.com/kovetskiy/mark/attachment" + "github.com/kovetskiy/mark/v16/attachment" "github.com/reconquest/pkg/log" "oss.terrastruct.com/d2/d2graph" diff --git a/d2/d2_test.go b/d2/d2_test.go index 744af4f..52687b7 100644 --- a/d2/d2_test.go +++ b/d2/d2_test.go @@ -5,7 +5,7 @@ import ( "strconv" "testing" - "github.com/kovetskiy/mark/attachment" + "github.com/kovetskiy/mark/v16/attachment" "github.com/stretchr/testify/assert" ) diff --git a/go.mod b/go.mod index ba97a86..5cc9ce6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/kovetskiy/mark +module github.com/kovetskiy/mark/v16 go 1.25.0 diff --git a/macro/macro.go b/macro/macro.go index eeea7d7..7262f20 100644 --- a/macro/macro.go +++ b/macro/macro.go @@ -7,7 +7,7 @@ import ( "strings" "text/template" - "github.com/kovetskiy/mark/includes" + "github.com/kovetskiy/mark/v16/includes" "github.com/reconquest/karma-go" "github.com/reconquest/pkg/log" "github.com/reconquest/regexputil-go" diff --git a/mark.go b/mark.go index 927994f..ba61535 100644 --- a/mark.go +++ b/mark.go @@ -14,16 +14,16 @@ import ( "time" "github.com/bmatcuk/doublestar/v4" - "github.com/kovetskiy/mark/attachment" - "github.com/kovetskiy/mark/confluence" - "github.com/kovetskiy/mark/includes" - "github.com/kovetskiy/mark/macro" - markmd "github.com/kovetskiy/mark/markdown" - "github.com/kovetskiy/mark/metadata" - "github.com/kovetskiy/mark/page" - "github.com/kovetskiy/mark/stdlib" - "github.com/kovetskiy/mark/types" - "github.com/kovetskiy/mark/vfs" + "github.com/kovetskiy/mark/v16/attachment" + "github.com/kovetskiy/mark/v16/confluence" + "github.com/kovetskiy/mark/v16/includes" + "github.com/kovetskiy/mark/v16/macro" + markmd "github.com/kovetskiy/mark/v16/markdown" + "github.com/kovetskiy/mark/v16/metadata" + "github.com/kovetskiy/mark/v16/page" + "github.com/kovetskiy/mark/v16/stdlib" + "github.com/kovetskiy/mark/v16/types" + "github.com/kovetskiy/mark/v16/vfs" "github.com/reconquest/karma-go" "github.com/reconquest/pkg/log" ) diff --git a/markdown/markdown.go b/markdown/markdown.go index e28e1db..6249f4a 100644 --- a/markdown/markdown.go +++ b/markdown/markdown.go @@ -4,11 +4,11 @@ import ( "bytes" "slices" - "github.com/kovetskiy/mark/attachment" - cparser "github.com/kovetskiy/mark/parser" - crenderer "github.com/kovetskiy/mark/renderer" - "github.com/kovetskiy/mark/stdlib" - "github.com/kovetskiy/mark/types" + "github.com/kovetskiy/mark/v16/attachment" + cparser "github.com/kovetskiy/mark/v16/parser" + crenderer "github.com/kovetskiy/mark/v16/renderer" + "github.com/kovetskiy/mark/v16/stdlib" + "github.com/kovetskiy/mark/v16/types" "github.com/reconquest/pkg/log" mkDocsParser "github.com/stefanfritsch/goldmark-admonitions" "github.com/yuin/goldmark" diff --git a/markdown/markdown_test.go b/markdown/markdown_test.go index 3f21b7b..555e2e5 100644 --- a/markdown/markdown_test.go +++ b/markdown/markdown_test.go @@ -10,10 +10,10 @@ import ( "strings" "testing" - mark "github.com/kovetskiy/mark/markdown" - "github.com/kovetskiy/mark/stdlib" - "github.com/kovetskiy/mark/types" - "github.com/kovetskiy/mark/util" + mark "github.com/kovetskiy/mark/v16/markdown" + "github.com/kovetskiy/mark/v16/stdlib" + "github.com/kovetskiy/mark/v16/types" + "github.com/kovetskiy/mark/v16/util" "github.com/stretchr/testify/assert" "github.com/urfave/cli/v3" ) diff --git a/mermaid/mermaid.go b/mermaid/mermaid.go index 80cea1c..a291024 100644 --- a/mermaid/mermaid.go +++ b/mermaid/mermaid.go @@ -9,7 +9,7 @@ import ( "time" mermaid "github.com/dreampuf/mermaid.go" - "github.com/kovetskiy/mark/attachment" + "github.com/kovetskiy/mark/v16/attachment" "github.com/reconquest/pkg/log" ) diff --git a/mermaid/mermaid_test.go b/mermaid/mermaid_test.go index 6991dbd..836f9b3 100644 --- a/mermaid/mermaid_test.go +++ b/mermaid/mermaid_test.go @@ -5,7 +5,7 @@ import ( "strconv" "testing" - "github.com/kovetskiy/mark/attachment" + "github.com/kovetskiy/mark/v16/attachment" "github.com/stretchr/testify/assert" ) diff --git a/page/ancestry.go b/page/ancestry.go index 523fc50..f8c4807 100644 --- a/page/ancestry.go +++ b/page/ancestry.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/kovetskiy/mark/confluence" + "github.com/kovetskiy/mark/v16/confluence" "github.com/reconquest/karma-go" "github.com/reconquest/pkg/log" ) diff --git a/page/link.go b/page/link.go index a2cb22e..cc968b9 100644 --- a/page/link.go +++ b/page/link.go @@ -12,8 +12,8 @@ import ( "strconv" "strings" - "github.com/kovetskiy/mark/confluence" - "github.com/kovetskiy/mark/metadata" + "github.com/kovetskiy/mark/v16/confluence" + "github.com/kovetskiy/mark/v16/metadata" "github.com/reconquest/karma-go" "github.com/reconquest/pkg/log" ) diff --git a/page/page.go b/page/page.go index 28867b1..1156949 100644 --- a/page/page.go +++ b/page/page.go @@ -3,8 +3,8 @@ package page import ( "strings" - "github.com/kovetskiy/mark/confluence" - "github.com/kovetskiy/mark/metadata" + "github.com/kovetskiy/mark/v16/confluence" + "github.com/kovetskiy/mark/v16/metadata" "github.com/reconquest/karma-go" "github.com/reconquest/pkg/log" ) diff --git a/renderer/codeblock.go b/renderer/codeblock.go index 5bddc03..f4e9099 100644 --- a/renderer/codeblock.go +++ b/renderer/codeblock.go @@ -3,7 +3,7 @@ package renderer import ( "strings" - "github.com/kovetskiy/mark/stdlib" + "github.com/kovetskiy/mark/v16/stdlib" "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/renderer" diff --git a/renderer/fencedcodeblock.go b/renderer/fencedcodeblock.go index 5f88b0d..5c4c2aa 100644 --- a/renderer/fencedcodeblock.go +++ b/renderer/fencedcodeblock.go @@ -6,11 +6,11 @@ import ( "slices" "strings" - "github.com/kovetskiy/mark/attachment" - "github.com/kovetskiy/mark/d2" - "github.com/kovetskiy/mark/mermaid" - "github.com/kovetskiy/mark/stdlib" - "github.com/kovetskiy/mark/types" + "github.com/kovetskiy/mark/v16/attachment" + "github.com/kovetskiy/mark/v16/d2" + "github.com/kovetskiy/mark/v16/mermaid" + "github.com/kovetskiy/mark/v16/stdlib" + "github.com/kovetskiy/mark/v16/types" "github.com/reconquest/pkg/log" "github.com/yuin/goldmark/ast" diff --git a/renderer/htmlblock.go b/renderer/htmlblock.go index 5214be5..c41696d 100644 --- a/renderer/htmlblock.go +++ b/renderer/htmlblock.go @@ -3,7 +3,7 @@ package renderer import ( "strings" - "github.com/kovetskiy/mark/stdlib" + "github.com/kovetskiy/mark/v16/stdlib" "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/renderer" diff --git a/renderer/image.go b/renderer/image.go index f273df9..20b23bf 100644 --- a/renderer/image.go +++ b/renderer/image.go @@ -7,9 +7,9 @@ import ( "strconv" "strings" - "github.com/kovetskiy/mark/attachment" - "github.com/kovetskiy/mark/stdlib" - "github.com/kovetskiy/mark/vfs" + "github.com/kovetskiy/mark/v16/attachment" + "github.com/kovetskiy/mark/v16/stdlib" + "github.com/kovetskiy/mark/v16/vfs" "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/renderer" diff --git a/renderer/mention.go b/renderer/mention.go index 8ad5328..86c39cc 100644 --- a/renderer/mention.go +++ b/renderer/mention.go @@ -1,8 +1,8 @@ package renderer import ( - "github.com/kovetskiy/mark/parser" - "github.com/kovetskiy/mark/stdlib" + "github.com/kovetskiy/mark/v16/parser" + "github.com/kovetskiy/mark/v16/stdlib" "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/renderer" "github.com/yuin/goldmark/util" diff --git a/stdlib/stdlib.go b/stdlib/stdlib.go index d31d938..b669f8d 100644 --- a/stdlib/stdlib.go +++ b/stdlib/stdlib.go @@ -5,7 +5,7 @@ import ( "strings" "text/template" - "github.com/kovetskiy/mark/confluence" + "github.com/kovetskiy/mark/v16/confluence" "github.com/reconquest/pkg/log" "github.com/reconquest/karma-go" diff --git a/util/cli.go b/util/cli.go index c84492f..2ddd315 100644 --- a/util/cli.go +++ b/util/cli.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/kovetskiy/lorg" - mark "github.com/kovetskiy/mark" + mark "github.com/kovetskiy/mark/v16" "github.com/reconquest/pkg/log" "github.com/urfave/cli/v3" )