Retrieve markdown content from Bitbucket private repo managed by Google or others
This article explains how we can retrieve markdown content from a Bitbucket private repository managed by Google or others.
Instructions:
Go to Bitbucket and create an app password by navigating to your profile → Personal settings → App Password. Copy the Password to a secure location.
Log in to Confluence as an Administrator and create a markdown profile by navigating to Settings → Markdown configuration → profiles and then click Add profile.
In the Profile section, enter a Profile name, choose Profile type as URL and give the URL of the markdown file like https://api.bitbucket.org/2.0/repositories/$workspace/$repo/src/$commit/$filepath
Provide your bitbucket user name and password that is produced in step# 1.
Â
Use Markdown from a URL macro in your confluence page and provide created Profile name to show markdown content.
Â
Ensure to have administrator access to configure Profiles.