Export pages in Wiki markup

Hi,

is it possible to export pages in Wiki markup or Markdown instead of pure HTML (Storage Format), PDF, or Word document) in Confluence 5.3?

Best regards,
Jochen

3 answers

1 accepted

No. About the best you could do is if the page content was enclosed in a macro from the Wiki Plugin for Confluence or Markdown for Confluence. Even then you would need some script processing to get at that specific content. http://www.amnet.net.au/~ghannington/confluence/wikifier/rt/ is another reference.

Hi Bob,

thanks for your answer!

The Wikifier RT looks very promising and since it's just a couple of Wiki pages I want to convert one time, I'll just do the manual work.

Best regards,
Jochen

To convert from Confluence Wiki Markup to Markdown:

1)  In Confluence click 'Space Tools' in the bottom left and select 'Content Tools'.

2)  Click the 'Export' tab > select 'HTML' > click 'Next'
3)  Select 'Custom Export' > check the pages you want to export > click 'Export'
4)  Wait for the pages to export, click the link to download.
5)  Unzip > open one of the HTML files in a text editor > select and copy all text
6) Paste the raw HTML into this HTML to Markdown converter.  https://domchristie.github.io/to-markdown/

Hi Jochen,

depending on what you want to achive, Bobs answer might be right: the internal storage format is xml now, a conversion "back to wiki markup" is not of atlassians making, thats why the plugins are necessary. If you "just" want to migrate content - its called "Space Export -> XML Export" and gives you the true format, not the HTML

Hi Josch,

thanks for your answer!

My goal is to get a Markdown version of a couple of Confluence Wiki pages. Thus the XML export would require me to write an XSL template to convert the contents. Since it's just a couple of pages to convert I'll probably just go with the Wikifier RT that Bob mentioned.

Best regards,
Jochen

Suggest an answer

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

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

101 views 3 4
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you