FAQ
Authentication to self managed GitLab stopped working
After the you get a An error occurred: The redirect URI included is not valid
when trying to authenticate.
On the URL of the app changed. You have to update the GitLab registration:
In GitLab, navigate to the registration of the
Include GitLab for Confluence
Edit the current registration
Update the Redirect URI to
https://include-gitlab-for-confluence.mibexsoftware.com/oauth-callback
Alternative, you can recreate the registration.
Is it possible to export Git assets to PDF or Word?
Yes, you can export Git assets (including files and other content) as part of a PDF or Word export of your Confluence page.
Do you support advanced links embedded in an AsciiDoc?
Advanced links such as {asciidoc-dir}/../../shared/versions/stack/{source_branch}.adoc
are currently not supported and we display in the included file.
Why are images within a Markdown or AsciiDoc not rendered?
When including images in AsciiDoc or Markdown files, you should be able to include the images using absolute paths instead of relative paths:
AsciiDoc
=== Picture 1 Block
image::/images/Example.png[]
=== Picture 2 Inline
image:/images/Example.png[]
Markdown

How can I resize images in my files so they don’t take the full width and height?
You can add custom sizes to images in Markdown using HTML. While Markdown is great for formatted text, it doesn't natively support resizing images. But with the img
tag, you can easily control image dimensions.
For example:
<img src="image.jpg" width="400" height="400"/>
Can I customize the file layout when exporting via PDF (e.g. image size)?
Yes, you can customize the layout for PDF exports, including the image size, by modifying the Confluence PDF stylesheet. For example, adding the following CSS rule to the PDF stylesheet will ensure that the images in the exported file are displayed at the same size:
img { width: 85%; height: 85%; }
For more details on customizing PDF exports, you can refer to the official Atlassian documentation: Customize Exports to PDF.
How can I include the C4-PlantUML library in my .puml
files so the app renders them?
You can use !include <C4/C4_Container>
for including the C4-PlantUML library.
Example:
@startuml
!include <C4/C4_Container>
Person(personAlias, "Label", "Optional Description")
Container(containerAlias, "Label", "Technology", "Optional Description")
System(systemAlias, "Label", "Optional Description")
System_Ext(extSystemAlias, "Label", "Optional Description")
Rel(personAlias, containerAlias, "Label", "Optional Technology")
Rel_U(systemAlias, extSystemAlias, "Label", "Optional Technology")
@enduml
Reference: https://plantuml.com/stdlib#062f75176513a666
Branches with Slashes
Branches with slashes in their name (eg bugfix/issue-123
, feature/abc
) are not supported at the moment.
As a work around, replace the slash of the branch name in the URL with %2F
, for example the bugfix/issue-123
branch URL https://gitlab.com/your-repo/test-files/-/blob/bugfix/issue-123/src/test.txt?ref_type=heads
to https://gitlab.com/your-repo/test-files/-/blob/bugfix%2Fissue-123/src/test.txt?ref_type=heads
Let us know your use case here if you require support for slashes in branch names.
How can I include the PlantUML Standard library?
To use the official Standard Library for PlantUML, you can use the following syntax in the PlantUML file:
!include <awslib/AWSCommon>
!include <awslib/Groups/all>
!include <awslib/ApplicationIntegration/MQ>
!include <awslib/Database/DocumentDB>
!include <awslib/Database/RDS>
!include <awslib/Containers/Containers>
!include <awslib/Storage/SimpleStorageService>
!include <awslib/Storage/SimpleStorageServiceGlacier>
!include <awslib/ApplicationIntegration/APIGateway>
!include <awslib/SecurityIdentityCompliance/Cognito>
!include <awslib/Database/DocumentDB>
!include <awslib/Database/RDS>
!include <awslib/Compute/Lambda>
!include <awslib/InternetOfThings/IoTThingGeneric>
Why don’t my embedded images load correctly in Scroll Viewport when using relative paths in an AsciiDoc file?
When using Scroll Viewport with images hosted in Git, relative image paths can trigger an authentication request, preventing them from loading properly.
To resolve this, use a full URL that references the raw file URL directly. This allows Scroll Viewport to fetch the image without requiring authentication.
⚠️ Note: This approach only works if the repository is publicly accessible. If the repository is private, authentication may still be required and the images will not be visible.
Example Usage in AsciiDoc:
image::https://gitlab.com/yourInstance/-/raw/master/image.png[title="image"]
How to Get the Raw File URL?
To obtain the raw URL of an image file in GitLab Cloud:
Navigate to the image file in your repository.
Right click on the image and choose
Copy Image Address