Skip to end of banner
Go to start of banner

How to configure Github profile and the markdown URL

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This article helps in configuring the Github profile within Markdown configuration and also explains how to pass the URL to the markdown file within the macro.

Instructions

  1. Login as Jira Administrator to configure the Markdown app.
  2. Under Manage Apps → Markdown for Confluence, click Configure.
  3. Navigate to Profiles → Add profile.
  4. Give a Profile name and select the Profile type as Github.
  5. Specify the URL as: 

  6. Pass the Username and Access token of the Github account.

    Note: Refer to this document for generating access token: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token



  7. Save Profile.
  8. Now, navigate to the page where the macro Markdown from a URL is used or Insert the macro to configure it.
  9. Click on the macro to edit it and pass the profile name(that's created through the above steps) in the Profile parameter.
  10. Within URL to markdown file parameter, pass the value in the given format:

    /{owner}/{repo}/contents/{file-path}





  11. Publish the page to see the results of the markdown file.


Make sure the Profiles are added to the Allowlist under the Markdown configuration if the URLs are restricted within Global Configuration.




  • No labels