is it possible to set a Style tag on page of Confluence from page creation API?

shota.shimizu May 22, 2024

HTML macro is not available in the Confluence Cloud, so some pages cannot be imported as is.

I would like to apply the following Style tags that I was able to display using HTML macros.

<style>
.company-main {
position: relative;
background-color:ffffff;
background-position: 50% 50%;
padding: 40px 20px;
}
.company-main:after {
position: absolute;
z-index: 1;
・・・・

When creating a page via the API like below, I assume it can be created in HTML, butis it possible to set a Style tag?
(https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-post)

We would appreciate your confirmation. 

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events