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?
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
Hi, V H,
Are you using Confluence Cloud or Confluence Server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was thinking you could glean the styles from the export (seen below) and the content from the API, forgive me if I am misunderstanding:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had high hopes for this one :( Within that stylesheet there's an import for 'global': `@import './imports/global'` which doesn't seem to be defined in the export files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.