jgm / pandoc

Universal markup converter
https://pandoc.org
Other
33.14k stars 3.3k forks source link

Atlassian document format (ADF) reader/writer implementation for Pandoc to translate content for Confluence Cloud compatibility. #9898

Open AntoineLu opened 1 week ago

AntoineLu commented 1 week ago

Describe your proposed improvement and the problem it solves. Hello,
I am writing this feature request because I currently wish to import some Wiki content in Confluence Cloud.

Atlassian Confluence Cloud utilises so called "Atlassian document format" markup to describe and store its content.

It would be very nice to implement a reader/writer managing this language with pandoc.

Describe alternatives you've considered. Currently, I use a workaround, converting the wiki to mardown, then using Markdown for Confluence to import it to Confluence.

jgm commented 1 week ago

It should be fairly easy to create a custom reader for this format, since it's just JSON and already in an AST. If you want to try this, there is documentation for custom readers on the website. https://pandoc.org/custom-readers.html I don't rule out full support in pandoc, but this could be a first step.

AntoineLu commented 1 week ago

Hi @jgm, thanks for your answer. Infact I think i'll manage it this way for my specific need. That had just the purpose of creating this issue since it did not exist.

Best.