Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,544
Community Members
 
Community Events
168
Community Groups

Does anyone know of a way to export from confluence to MarkDown format?

Hi,

I have seen add-ons for Confluence to allow MarkDown to work in Confluence. What I haven't seen is any way to export or otherwise transform existing Confluence content (tables) into MarkDown format. 

Does anyone know of a way to export from confluence to MarkDown format?

Or even something that would take a PDF exported from Confluence and turn it into MarkDown? I found this http://pdf2md.morethan.io/ but it doesn't handle tables very well.

Any guidance would be appreciated. Thank you.

Mark

 

4 answers

1 accepted

2 votes
Answer accepted
Shannon S Atlassian Team Oct 23, 2018

Hi Mark,

I found some discussions on this below that might help you:

This one that was mentioned uses Pandoc, if you're not familiar with it. It seems promising but I don't have any experience with it personally:

I hope this helps!

Regards,

Shannon

Thank you very much! This was very helpful.

The last link to the npm repo should be to the source repo in GitHub.

I tried it today and it works. Requires installing Pandoc.

The only issue I have that in order to build a proper static site, it is better to have a proper folder structure. Confluence HTML export puts all HTML files to one folder and the Markdown structure will be the same, so it is an unsolved issue.

I had the same issue, so created an online converter for confluence HTML.

https://metamug.com/util/confluence-to-markdown/

You can download the converted markdown file. 

Like # people like this

Just want to say it is so helpful! thank you so much!

Hi everyone,

If you are looking to export pages from Confluence to Markdown, please try our app: 

Markdown Exporter for Confluence

The app supports exporting tables as well as code block. You can install it on both Confluence Cloud and Server versions(as the question is tagged server).

Regards,

Parva

We've just released an addon for exporting Confluence pages to Markdown and includes support for transforming Confluence tables into Markdown tables:

2.png

Please don't hesitate to contact us if you have any questions or suggestions.

Dom Christie solution is great as a very elegant and portable solution. I then added a small plugin to support specifics of Confluence. Hope this helps.

https://github.com/guyplusplus/turndown-plugin-confluence-to-gfm

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events