Skip to end of banner
Go to start of banner

Add a GitHub profile

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

« Previous Version 8 Next »

Description

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

Before you begin:

To add a profile, you will need the following:

Markdown-url macro

  • Username and personal access token for GitHub profile.
  • Path to markdown raw file hosted on GitHub.
  • Filename of the raw file.

Global Configuration settings:

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


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.

You will have to enter diagraph commands to generate Diagraphs and Space graphs.

  • No labels