Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically create confluence pages using markdown

Scott Chapman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2022

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events