Skip to content

Instantly share code, notes, and snippets.

@mkweskin
Created January 22, 2020 20:12
Show Gist options
  • Save mkweskin/e531e65791c1d8036dd720ef3baf8af6 to your computer and use it in GitHub Desktop.
Save mkweskin/e531e65791c1d8036dd720ef3baf8af6 to your computer and use it in GitHub Desktop.
Github markdown to Jira/Confluence markup using pandoc
pandoc -f gfm -w jira -o outfile.jira infile.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).
@novoid
Copy link

novoid commented Dec 23, 2021

FYI: there is no jira writer in my pandoc version when I tried this approach on 2021-12-23 with (X)Ubuntu 20.04 LTS:

pandoc 2.5
Compiled with pandoc-types 1.17.5.4, texmath 0.11.2.2, skylighting 0.7.7

According to https://pandoc.org/changelog.txt the jira output writer was introduced with pandoc v2.7.3 (2019-06-11).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment