We are on Confluence 7.13.7
I am using the Confluence rest API to create pages and it is working fine. The problem I am having is that I want it formatted it a certain way. I am able to create what I want in Markdown and from the editor "insert" my markdown and it appears just as I want it to be, however creating the page with this same text and making storagerepresentaion "wiki" or "storage" does not seem to convert it as I hoped I would.
is there a way to create a page using Markdown and have confluence do a conversion as if it I had used the "insert markdown" function from the editor?
if not what is the best way to build a page in the editor how I like it and then take that and export it somehow that I can then create a page from java rest api and have it look the same as I originally created it. I have tried html/markdown/xml nothing seems to work