├── .all-contributorsrc ├── .dockerignore ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md ├── dependabot.yml └── workflows │ ├── ci.yml │ └── goreleaser.yml ├── .gitignore ├── .goreleaser.yml ├── .markdownlint-cli2.jsonc ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── Taskfile.yml ├── attachment ├── attachment.go └── attachment_test.go ├── confluence └── api.go ├── d2 ├── d2.go └── d2_test.go ├── docker-compose.yaml ├── go.mod ├── go.sum ├── includes └── templates.go ├── macro └── macro.go ├── main.go ├── main_test.go ├── markdown ├── markdown.go └── markdown_test.go ├── mermaid ├── mermaid.go └── mermaid_test.go ├── metadata ├── metadata.go └── metadata_test.go ├── page ├── ancestry.go ├── link.go ├── link_test.go └── page.go ├── parser ├── confluenceids.go └── confluencetags.go ├── renderer ├── blockquote.go ├── codeblock.go ├── fencedcodeblock.go ├── heading.go ├── htmlblock.go ├── image.go ├── link.go ├── mkDocsAdmonition.go ├── paragraph.go └── text.go ├── stdlib └── stdlib.go ├── testdata ├── admonitions-droph1.html ├── admonitions-stripnewlines.html ├── admonitions.html ├── admonitions.md ├── batch-tests │ ├── bad-test.md │ ├── errord-test.md │ ├── good-test.md │ ├── invalid-test.md │ └── valid-test.md ├── codes-stripnewlines.html ├── codes.html ├── codes.md ├── header-droph1.html ├── header.html ├── header.md ├── issue-64-broken-link.html ├── issue-64-broken-link.md ├── links.html ├── links.md ├── lists.html ├── lists.md ├── macro-include-stripnewlines.html ├── macro-include.html ├── macro-include.md ├── newlines-stripnewlines.html ├── newlines.html ├── newlines.md ├── pagelayout.html ├── pagelayout.md ├── quotes-droph1.html ├── quotes-stripnewlines.html ├── quotes.html ├── quotes.md ├── table.html ├── table.md ├── tags.html ├── tags.md └── test.png ├── types └── types.go ├── util ├── auth.go ├── cli.go ├── cli_test.go ├── error_handler.go └── flags.go └── vfs └── vfs.go /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | /docker 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.github/workflows/goreleaser.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.gitignore -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.goreleaser.yml -------------------------------------------------------------------------------- /.markdownlint-cli2.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/.markdownlint-cli2.jsonc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/README.md -------------------------------------------------------------------------------- /Taskfile.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/Taskfile.yml -------------------------------------------------------------------------------- /attachment/attachment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/attachment/attachment.go -------------------------------------------------------------------------------- /attachment/attachment_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/attachment/attachment_test.go -------------------------------------------------------------------------------- /confluence/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/confluence/api.go -------------------------------------------------------------------------------- /d2/d2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/d2/d2.go -------------------------------------------------------------------------------- /d2/d2_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/d2/d2_test.go -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/go.sum -------------------------------------------------------------------------------- /includes/templates.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/includes/templates.go -------------------------------------------------------------------------------- /macro/macro.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/macro/macro.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/main.go -------------------------------------------------------------------------------- /main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/main_test.go -------------------------------------------------------------------------------- /markdown/markdown.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/markdown/markdown.go -------------------------------------------------------------------------------- /markdown/markdown_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/markdown/markdown_test.go -------------------------------------------------------------------------------- /mermaid/mermaid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/mermaid/mermaid.go -------------------------------------------------------------------------------- /mermaid/mermaid_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/mermaid/mermaid_test.go -------------------------------------------------------------------------------- /metadata/metadata.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/metadata/metadata.go -------------------------------------------------------------------------------- /metadata/metadata_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/metadata/metadata_test.go -------------------------------------------------------------------------------- /page/ancestry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/page/ancestry.go -------------------------------------------------------------------------------- /page/link.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/page/link.go -------------------------------------------------------------------------------- /page/link_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/page/link_test.go -------------------------------------------------------------------------------- /page/page.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/page/page.go -------------------------------------------------------------------------------- /parser/confluenceids.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/parser/confluenceids.go -------------------------------------------------------------------------------- /parser/confluencetags.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/parser/confluencetags.go -------------------------------------------------------------------------------- /renderer/blockquote.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/blockquote.go -------------------------------------------------------------------------------- /renderer/codeblock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/codeblock.go -------------------------------------------------------------------------------- /renderer/fencedcodeblock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/fencedcodeblock.go -------------------------------------------------------------------------------- /renderer/heading.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/heading.go -------------------------------------------------------------------------------- /renderer/htmlblock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/htmlblock.go -------------------------------------------------------------------------------- /renderer/image.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/image.go -------------------------------------------------------------------------------- /renderer/link.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/link.go -------------------------------------------------------------------------------- /renderer/mkDocsAdmonition.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/mkDocsAdmonition.go -------------------------------------------------------------------------------- /renderer/paragraph.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/paragraph.go -------------------------------------------------------------------------------- /renderer/text.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/renderer/text.go -------------------------------------------------------------------------------- /stdlib/stdlib.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/stdlib/stdlib.go -------------------------------------------------------------------------------- /testdata/admonitions-droph1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/admonitions-droph1.html -------------------------------------------------------------------------------- /testdata/admonitions-stripnewlines.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/admonitions-stripnewlines.html -------------------------------------------------------------------------------- /testdata/admonitions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/admonitions.html -------------------------------------------------------------------------------- /testdata/admonitions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/admonitions.md -------------------------------------------------------------------------------- /testdata/batch-tests/bad-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/batch-tests/bad-test.md -------------------------------------------------------------------------------- /testdata/batch-tests/errord-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/batch-tests/errord-test.md -------------------------------------------------------------------------------- /testdata/batch-tests/good-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/batch-tests/good-test.md -------------------------------------------------------------------------------- /testdata/batch-tests/invalid-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/batch-tests/invalid-test.md -------------------------------------------------------------------------------- /testdata/batch-tests/valid-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/batch-tests/valid-test.md -------------------------------------------------------------------------------- /testdata/codes-stripnewlines.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/codes-stripnewlines.html -------------------------------------------------------------------------------- /testdata/codes.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/codes.html -------------------------------------------------------------------------------- /testdata/codes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/codes.md -------------------------------------------------------------------------------- /testdata/header-droph1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/header-droph1.html -------------------------------------------------------------------------------- /testdata/header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/header.html -------------------------------------------------------------------------------- /testdata/header.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/header.md -------------------------------------------------------------------------------- /testdata/issue-64-broken-link.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/issue-64-broken-link.html -------------------------------------------------------------------------------- /testdata/issue-64-broken-link.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/issue-64-broken-link.md -------------------------------------------------------------------------------- /testdata/links.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/links.html -------------------------------------------------------------------------------- /testdata/links.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/links.md -------------------------------------------------------------------------------- /testdata/lists.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/lists.html -------------------------------------------------------------------------------- /testdata/lists.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/lists.md -------------------------------------------------------------------------------- /testdata/macro-include-stripnewlines.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/macro-include-stripnewlines.html -------------------------------------------------------------------------------- /testdata/macro-include.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/macro-include.html -------------------------------------------------------------------------------- /testdata/macro-include.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/macro-include.md -------------------------------------------------------------------------------- /testdata/newlines-stripnewlines.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/newlines-stripnewlines.html -------------------------------------------------------------------------------- /testdata/newlines.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/newlines.html -------------------------------------------------------------------------------- /testdata/newlines.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/newlines.md -------------------------------------------------------------------------------- /testdata/pagelayout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/pagelayout.html -------------------------------------------------------------------------------- /testdata/pagelayout.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/pagelayout.md -------------------------------------------------------------------------------- /testdata/quotes-droph1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/quotes-droph1.html -------------------------------------------------------------------------------- /testdata/quotes-stripnewlines.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/quotes-stripnewlines.html -------------------------------------------------------------------------------- /testdata/quotes.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/quotes.html -------------------------------------------------------------------------------- /testdata/quotes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/quotes.md -------------------------------------------------------------------------------- /testdata/table.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/table.html -------------------------------------------------------------------------------- /testdata/table.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/table.md -------------------------------------------------------------------------------- /testdata/tags.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/tags.html -------------------------------------------------------------------------------- /testdata/tags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/tags.md -------------------------------------------------------------------------------- /testdata/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/testdata/test.png -------------------------------------------------------------------------------- /types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/types/types.go -------------------------------------------------------------------------------- /util/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/util/auth.go -------------------------------------------------------------------------------- /util/cli.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/util/cli.go -------------------------------------------------------------------------------- /util/cli_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/util/cli_test.go -------------------------------------------------------------------------------- /util/error_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/util/error_handler.go -------------------------------------------------------------------------------- /util/flags.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/util/flags.go -------------------------------------------------------------------------------- /vfs/vfs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovetskiy/mark/HEAD/vfs/vfs.go --------------------------------------------------------------------------------