Gets and displays Gitlab source contents on a Confluence macro.
STEP-1
Go to manage apps and configure Connector for GitLab and Confluence app.
Please see, Generate Gitlab Access Token
STEP-2
Go to Page edit and add GitLab Contents macro and Configure.
DEMO