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,332,706
Community Members
 
Community Events
169
Community Groups

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

4 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/

The link is outdated, see this updated link here https://domchristie.github.io/turndown/

Like # people like this

The links have changed for space settings so I added an article with steps and screenshots.

https://metamug.com/article/productivity/confluence-to-markdown.html

This helps us a lot. We use markdown heavily on our site.

Like # people like this

The links have changed for space settings so I added an article with steps and screenshots.

https://metamug.com/article/productivity/confluence-to-markdown.html

This helps us a lot. We use markdown heavily on our site.

Like # people like this

https://domchristie.github.io/turndown/ does not seem to support tables

so it you have a table you want to convert, search elsewhere

Dom Christie solution is great. I added a small plugin to support specifics of Confluence such as tables as mentioned above. Hope this helps.

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

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

0 votes

For Confluence Cloud users visiting this thread, you can use our add-on to easily export Confluence pages to Markdown format: Markdown Exporter for Confluence

You can convert Confluence content (page, blog etc.) to Markdown with single click and download .md files. If you have any feedback, please feel free to contact us.

Do you support export Confluence Spaces to md?

Like Benjamin Duguid likes this

Hi Ian, currently we only support exporting pages to Markdown.

We might add feature to export full spaces in future.

Like matti.b likes this

Hi Nar Kumar, 
great Add-on. Maybe that kind I need. Does this Add-On also export embedded pictures?

Suggest an answer

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

Collaboratory Video Series: Confluence Your Way

Hey there, collaborators! We're continuing on with Work and Wellness with a special video series focused on team connection and collaboration, wherever and whenever.  Introducing Confluence ...

186 views 2 11
Read article

Atlassian Community Events