using doughgle/docs-as-code:main
$ docker run -it ghcr.io/doughgle/docs-as-code:main bash
Example markdown
hugo:/src$ cat test.md
# Test markdown
Hello world
[click me](https://example.com)
Convert it
$ pandoc --from gfm --to jira -o confluence.wiki test.md
To import converted file into Confluence:
- Create new page
- Click on the body of the page, click on the " + /" dropdown in toolbar ("Insert more content") and select "Markup"
- Paste the contents into the pop-up window (select "Confluence wiki" as the format)
- Note: The "Markdown" option in the import pop-up doesn't seem to work for Github flavored markdown (gfm).