Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

export to markdown

Hey, guys.  We're using Confluence for our documentation so dev can add raw content, etc.  For producing finished documents, we've been using the Scroll PDF Exporter (and sometimes the Scroll HTML Exporter).  

Now, we want to get the documentation up onto a GitLab developers site.  We're using Hugo and Markdown source.  Up until now, we've just been putting the PDF files up, but now they want the docs to be more integral to the site.

Any suggestions on how to get Markdown out of Confluence?

FYI, we use included pages and a few tables, just to complicate things.

Thanks for any help you can provide.

 

Marty

4 answers

Hi Martin, we recently released add-on: Markdown Exporter for Confluence

It exports Confluence contents (pages) to standard markdown format, which you can download locally.

Please give it a try from Marketplace https://marketplace.atlassian.com/apps/1221351/markdown-exporter-for-confluence and let us know if you face any issues.

Thanks

Hi - ist there a way to do the export using a commandline tool (e.g. powershell)?

Like Jo Wilkes likes this

Sorry, there is currently no option to do it using commandline tool.

From what I see of your tool it only allows someone to export pages individually. I need to export a Confluence space as markdown so this tool won't work for me unless it's updated.

Like Benjamin Duguid likes this

There is a project on GitHub called Turndown that lets you convert HTML to markdown.

 https://domchristie.github.io/turndown/

Confluence has steps to download a page or a set of pages as HTML. After you export to HTML you can copy the section of HTML from the zip file and convert it using turndown.

 

I have written an article with all the steps.  https://metamug.com/article/productivity/confluence-to-markdown.html

HI Martin,

You might find this previous question helpful: https://answers.atlassian.com/questions/235590.  I don't think much has changed since then on the Atlassian side.

However, there are 3rd parties looking at this, for example: https://www.npmjs.com/package/confluence-to-github-markdown  I've got no idea how well that tool works, but it might be worth looking at, especially if you've got a lot of pages to convert.

Hi @Martin Soderstrom :) I know this doesn't directly answer your question, but if you ever find yourself trying to do the opposite (display GitHub markdown in confluence), check out Markdown Extensions for Confluence

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

415 views 23 8
Join discussion

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