I'm using the API to get my confluence content but the styles are obviously not there. The theme API doesn't seem like it would help based on the response I got. Is there a place to get the CSS or even a CDN for it?
Hi, V H,
Are you using Confluence Cloud or Confluence Server?
I'm using confluence cloud
You may export the space or pages from the space in HTML format, that will include the styles. You can get there via Space settings>Content Tools>Export or URL <Your_URL.atlassian.net>/wiki/spaces/exportspacehtml.action?key=<spacekey>:
Exporting was going to be the original approach. The problem with exporting is that anytime any of the docs change you'd have to manually export it to get the updated content which is why leveraging the API is the better approach for my needs. So based on these answers, the original answer to my question is that there is no CDN or downloadable css file for the styles correct?
Seems there's a known bug that's been reported and not resolved over several releases. The workaround since 2016 has been to recompile the stylesheet through a LESS processor: https://jira.atlassian.com/browse/CONFSERVER-39221?focusedCommentId=903710&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-903710
It looks like you're new here. Sign in or register to get started.