Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This article illustrates the process of adding a GitHub profile and subsequently, render files in the Markdown-url macro.

Info

Before you begin:

To add a profile, you will need the following:

Markdown-url macro

Global Configuration settings:

  • Whitelist the URL for GitHub.
  • To ensure that the Markdown-url macro renders the file without errors, enable Allow JavaScript.

Add a GitHub

...

Profile

Steps

  1. Navigate to CONFLUENCE ADMINISTRATION > General Configuration > BOB SWIFT CONFIGURATION > Markdown macro > Global Configuration.

  2. Enter {flowchart and select the flowchart macro. Alternatively, from the toolbar at the top, click Insert more content > Other macros Flowchart macro. 

    In this example, we use Groovy to generate the dot code and copied the code block into the Flowchart Macro

  3. Copy the code block mentioned in the example below and paste it in the macro body. 

  4. Enable Render wiki markup macros in body.
  5. Click Save to publish the page.

...

  1. Profiles.

  2. Click Add Profile.

  3. Enter a profile name in the Profile name text box.
  4. Select GitHub from the options in Profile type.Image Added
  5. Enter the API URL for GitHub in the URL text box.

  6. Enter the personal access token for your GitHub profile in the Access token text box. 
  7. You will notice that the Header parameters are auto-filled.
  8. Click Save profile to create a Profile.

Markdown-url Macro