Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

 

2 answers

1 accepted

2 votes
Answer accepted
Shannon 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. 

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
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

34,857 views 26 119
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you