I found that all the existing org exporters I could find were using the old confluence syntax. This exporter allows you to just copy straight from the buffer into confluence while maintaining (most) of your syntax like inline code, tables, headings and code blocks. I also modified how the TOC generates so it will still work in confluence.
Add the following line to your packages.el
then run doom sync
.
(package! ox-confluence :recipe (:host github :repo "nan0scho1ar/ox-confluence-modern" :files ("*.el")))