{
  "key": "ch.mibex.confluence.cloud.include-github-dev",
  "baseUrl": "https://dev-sue-github.tunneling.bitvoodoo.cloud",
  "name": "Include GitHub for Confluence",
  "description": "Confluence macros to include files and repository metadata from GitHub into Confluence pages",
  "enableLicensing": true,
  "apiMigrations": {
    "gdpr": true,
    "context-qsh": true,
    "signed-install": true
  },
  "vendor": {
    "name": "Mibex Software GmbH",
    "url": "https://www.mibexsoftware.com"
  },
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "scopes": ["READ"],
  "modules": {
    "postInstallPage":
    {
      "url": "/v1/postInstall",
      "icon": {
        "width": 80,
        "height": 80,
        "url": "/img/macro-icon-github.png"
      },
      "key": "post-install",
      "name": {
        "value": "Include GitHub"
      }
    },
    "configurePage":
    {
      "url": "/v1/addonConfig",
      "key": "addOnConfig",
      "icon": {
        "width": 80,
        "height": 80,
        "url": "/img/macro-icon-github.png"
      },
      "location": "system.admin/configuration",
      "name": {
        "value": "Include GitHub"
      }
    },
    "adminPages": [
      {
        "url": "/v1/addonConfig",
        "key": "addon-admin-config",
        "icon": {
          "width": 80,
          "height": 80,
          "url": "/img/macro-icon-github.png"
        },
        "name": {
          "value": "Include GitHub"
        }
      }
    ],
    "generalPages": [
      {
        "url": "/v1/confluence-connect-page?ac.state={ac.state}&ac.code={ac.code}",
        "key": "oauth-connect-page",
        "location": "none",
        "name": {
          "value": "Include GitHub OAuth Connect Page"
        },
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      }
    ],
    "dynamicContentMacros": [
      {
        "url": "/v1/getfile?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader={hideHeader}&collapsible={collapsible}&mode={output.type}",
        "description": {
          "value": "Include a GitHub file in Confluence. Hint: You can paste a GitHub file URL into a Confluence page editor to also trigger this macro."
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-github-to-confluence-cloud/include-file"
        },
        "icon": {
          "url": "/img/macro-icon-github.png"
        },
        "categories": [
          "formatting", "development", "external-content", "reporting"
        ],
        "renderModes": {
          "default": {
            "url": "/v1/getfile?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader=true&collapsible=false&mode={output.type}"
          }
        },
        "outputType": "block",
        "bodyType": "none",
        "aliases": [
          "include-github-file-macro"
        ],
        "name": {
          "value": "GitHub File"
        },
        "key": "github-file-macro",
        "parameters": [
          {
            "identifier": "url",
            "name": {
              "value": "URL to a file in a GitHub repository"
            },
            "type": "string",
            "required": true,
            "multiple": false,
            "description": {
              "value": "e.g. https://github.com/githubtraining/training-manual/blob/main/README.md"
            }
          },
          {
            "identifier": "syntaxHighlighting",
            "name": {
              "value": "Syntax highlighting"
            },
            "type": "enum",
            "required": false,
            "multiple": false,
            "defaultValue": "Auto Detect",
            "values": [
              "Auto Detect",
              "Plain Text",
              ".properties",
              "6502 Assembly",
              "ABAP",
              "ABNF",
              "Apache Configuration",
              "AsciiDoc",
              "AsciiDoc highlighted",
              "BASIC",
              "BNF",
              "C",
              "C-like",
              "CIL",
              "Clojure",
              "CMake",
              "CoffeeScript",
              "Cpp",
              "CSharp",
              "Css",
              "CSV",
              "D",
              "DAX",
              "Docker",
              "EBNF",
              "EJS",
              "Embedded Lua templating",
              "ERB",
              "F#",
              "FreeMarker Template Language",
              "Gherkin",
              "Go",
              "GraphQL",
              "Groovy",
              "Haskell",
              "HCL",
              "HTML",
              "Java",
              "Java stack trace",
              "JavaDoc",
              "JavaScript",
              "JSON",
              "Kotlin",
              "LaTeX",
              "LLVM IR",
              "Markdown",
              "Markdown highlighted",
              "MathML",
              "MATLAB",
              "Mermaid",
              "nginx",
              "Object Pascal",
              "Objective-C",
              "OCaml",
              "OpenCL",
              "PHP",
              "PL/SQL",
              "PlantUML",
              "PowerShell",
              "ProtoBuf",
              "Python",
              "Q",
              "Racket",
              "React JSX",
              "React TSX",
              "reST (reStructuredText)",
              "RSS",
              "Ruby",
              "Rust",
              "Sass",
              "Scala",
              "Shell session",
              "Soy (Closure Template)",
              "Sql",
              "SSML",
              "SVG",
              "Swift",
              "T4 templating",
              "T4 Text Templates (C#)",
              "T4 Text Templates (VB)",
              "TeX",
              "TypeScript",
              "Vb",
              "VHDL",
              "vim",
              "Web App Manifest",
              "WebAssembly",
              "Wiki markup",
              "Xml",
              "XQuery",
              "Yaml"
            ],
            "hidden": false
          },
          {
            "identifier": "title",
            "name": {
              "value": "Title"
            },
            "type": "string",
            "required": false,
            "multiple": false
          },
          {
            "identifier": "showLineNumbers",
            "name": {
              "value": "Show line numbers"
            },
            "description": {
              "value": "Line numbers for rendered files like Markdown and AsciiDoc not shown."
            },
            "type": "boolean"
          },
          {
            "identifier": "hideHeader",
            "name": {
              "value": "Hide file header"
            },
            "type": "boolean"
          },
          {
            "identifier": "collapsible",
            "name": {
              "value": "Collapsible"
            },
            "type": "boolean"
          }
        ],
        "autoconvert": {
          "urlParameter": "url",
          "matchers": [
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://raw.githubusercontent.com/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            }
          ]
        }
      },
      {
        "url": "/v1/getdirectory?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader={hideHeader}&collapsible={collapsible}&mode={output.type}",
        "description": {
          "value": "Include files from a GitHub directory in Confluence. Hint: You can paste a GitHub directory URL into a Confluence page editor to also trigger this macro."
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-github-to-confluence-cloud/include-directory"
        },
        "icon": {
          "url": "/img/macro-icon-github.png"
        },
        "categories": [
          "development", "external-content", "reporting"
        ],
        "outputType": "block",
        "bodyType": "none",
        "renderModes": {
          "default": {
            "url": "/v1/getdirectory?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader=true&collapsible=false&mode={output.type}"
          }
        },
        "aliases": [
          "include-github-directory-macro"
        ],
        "name": {
          "value": "GitHub Directory"
        },
        "key": "github-directory-macro",
        "parameters": [
          {
            "identifier": "url",
            "name": {
              "value": "URL to a directory in a GitHub repository"
            },
            "type": "string",
            "required": true,
            "multiple": false,
            "description": {
              "value": "e.g. https://github.com/githubtraining/training-manual/tree/main/practice-repos/conflict-practice"
            }
          },
          {
            "identifier": "syntaxHighlighting",
            "name": {
              "value": "Syntax highlighting"
            },
            "type": "enum",
            "required": false,
            "multiple": false,
            "defaultValue": "Auto Detect",
            "values": ["Auto Detect",
              "Plain Text",
              ".properties",
              "6502 Assembly",
              "ABAP",
              "ABNF",
              "Apache Configuration",
              "AsciiDoc",
              "AsciiDoc highlighted",
              "BASIC",
              "BNF",
              "C",
              "C-like",
              "CIL",
              "Clojure",
              "CMake",
              "CoffeeScript",
              "Cpp",
              "CSharp",
              "Css",
              "CSV",
              "D",
              "DAX",
              "Docker",
              "EBNF",
              "EJS",
              "Embedded Lua templating",
              "ERB",
              "F#",
              "FreeMarker Template Language",
              "Gherkin",
              "Go",
              "GraphQL",
              "Groovy",
              "Haskell",
              "HCL",
              "HTML",
              "Java",
              "Java stack trace",
              "JavaDoc",
              "JavaScript",
              "JSON",
              "Kotlin",
              "LaTeX",
              "LLVM IR",
              "Markdown",
              "Markdown highlighted",
              "MathML",
              "MATLAB",
              "Mermaid",
              "nginx",
              "Object Pascal",
              "Objective-C",
              "OCaml",
              "OpenCL",
              "PHP",
              "PL/SQL",
              "PlantUML",
              "PowerShell",
              "ProtoBuf",
              "Python",
              "Q",
              "Racket",
              "React JSX",
              "React TSX",
              "reST (reStructuredText)",
              "RSS",
              "Ruby",
              "Rust",
              "Sass",
              "Scala",
              "Shell session",
              "Soy (Closure Template)",
              "Sql",
              "SSML",
              "SVG",
              "Swift",
              "T4 templating",
              "T4 Text Templates (C#)",
              "T4 Text Templates (VB)",
              "TeX",
              "TypeScript",
              "Vb",
              "VHDL",
              "vim",
              "Web App Manifest",
              "WebAssembly",
              "Wiki markup",
              "Xml",
              "XQuery",
              "Yaml"
            ],
            "hidden": false
          },
          {
            "identifier": "showLineNumbers",
            "name": {
              "value": "Show line numbers"
            },
            "description": {
              "value": "Line numbers for rendered files like Markdown and AsciiDoc not shown."
            },
            "type": "boolean"
          },
          {
            "identifier": "hideHeader",
            "name": {
              "value": "Hide file header"
            },
            "type": "boolean"
          },
          {
            "identifier": "collapsible",
            "name": {
              "value": "Collapsible"
            },
            "type": "boolean"
          }
        ],
        "autoconvert": {
          "urlParameter": "url",
          "matchers": [
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://github.com/{}/{}/{}/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            }
          ]
        }
      },
      {
        "url": "/v1/getsnippet?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader={hideHeader}&collapsible={collapsible}&mode={output.type}",
        "description": {
          "value": "Include a GitHub gist in Confluence. Hint: You can paste a GitHub Gist URL into a Confluence page editor to also trigger this macro."
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-github-to-confluence-cloud/include-gist"
        },
        "icon": {
          "url": "/img/macro-icon-github.png"
        },
        "categories": [
          "formatting", "development", "external-content", "reporting"
        ],
        "renderModes": {
          "default": {
            "url": "/v1/getsnippet?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader=true&collapsible=false&mode={output.type}"
          }
        },
        "outputType": "block",
        "bodyType": "none",
        "aliases": [
          "include-github-snippet-macro"
        ],
        "name": {
          "value": "GitHub Gist"
        },
        "key": "github-snippet-macro",
        "parameters": [
          {
            "identifier": "url",
            "name": {
              "value": "URL to a GitHub Gist"
            },
            "type": "string",
            "required": true,
            "multiple": false,
            "description": {
              "value": "e.g. https://gist.github.com/githubtraining/gistId"
            }
          },
          {
            "identifier": "syntaxHighlighting",
            "name": {
              "value": "Syntax highlighting"
            },
            "type": "enum",
            "required": false,
            "multiple": false,
            "defaultValue": "Auto Detect",
            "values": [
              "Auto Detect",
              "Plain Text",
              ".properties",
              "6502 Assembly",
              "ABAP",
              "ABNF",
              "Apache Configuration",
              "AsciiDoc",
              "AsciiDoc highlighted",
              "BASIC",
              "BNF",
              "C",
              "C-like",
              "CIL",
              "Clojure",
              "CMake",
              "CoffeeScript",
              "Cpp",
              "CSharp",
              "Css",
              "CSV",
              "D",
              "DAX",
              "Docker",
              "EBNF",
              "EJS",
              "Embedded Lua templating",
              "ERB",
              "F#",
              "FreeMarker Template Language",
              "Gherkin",
              "Go",
              "GraphQL",
              "Groovy",
              "Haskell",
              "HCL",
              "HTML",
              "Java",
              "Java stack trace",
              "JavaDoc",
              "JavaScript",
              "JSON",
              "Kotlin",
              "LaTeX",
              "LLVM IR",
              "Markdown",
              "Markdown highlighted",
              "MathML",
              "MATLAB",
              "Mermaid",
              "nginx",
              "Object Pascal",
              "Objective-C",
              "OCaml",
              "OpenCL",
              "PHP",
              "PL/SQL",
              "PlantUML",
              "PowerShell",
              "ProtoBuf",
              "Python",
              "Q",
              "Racket",
              "React JSX",
              "React TSX",
              "reST (reStructuredText)",
              "RSS",
              "Ruby",
              "Rust",
              "Sass",
              "Scala",
              "Shell session",
              "Soy (Closure Template)",
              "Sql",
              "SSML",
              "SVG",
              "Swift",
              "T4 templating",
              "T4 Text Templates (C#)",
              "T4 Text Templates (VB)",
              "TeX",
              "TypeScript",
              "Vb",
              "VHDL",
              "vim",
              "Web App Manifest",
              "WebAssembly",
              "Wiki markup",
              "Xml",
              "XQuery",
              "Yaml"
            ],
            "hidden": false
          },
          {
            "identifier": "title",
            "name": {
              "value": "Title"
            },
            "type": "string",
            "required": false,
            "multiple": false
          },
          {
            "identifier": "showLineNumbers",
            "name": {
              "value": "Show line numbers"
            },
            "description": {
              "value": "Line numbers for rendered files like Markdown and AsciiDoc not shown."
            },
            "type": "boolean"
          },
          {
            "identifier": "hideHeader",
            "name": {
              "value": "Hide gist header"
            },
            "type": "boolean"
          },
          {
            "identifier": "collapsible",
            "name": {
              "value": "Collapsible"
            },
            "type": "boolean"
          }
        ],
        "autoconvert": {
          "urlParameter": "url",
          "matchers": [
            {
              "pattern": "https://gist.github.com/{}/{}"
            },
            {
              "pattern": "https://gist.githubusercontent.com/{}/{}/raw/{}/{}.{}"
            }
          ]
        }
      },
      {
        "url": "/v1/getIssues?ownerName=&repository={repository}&spaceKey={space.key}&contentId={content.id}&query={query}&mode={output.type}",
        "description": {
          "value": "Include a list of issues from GitHub"
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-github-to-confluence-cloud/include-issues-list"
        },
        "icon": {
          "url": "/img/macro-icon-github.png"
        },
        "categories": [
          "development", "external-content", "reporting"
        ],
        "outputType": "block",
        "bodyType": "none",
        "renderModes": {
          "default": {
            "url": "/v1/getIssues?ownerName=&repository={repository}&spaceKey={space.key}&contentId={content.id}&query={query}&mode={output.type}"
          }
        },
        "aliases": [
          "include-github-issue"
        ],
        "name": {
          "value": "GitHub Issues"
        },
        "key": "github-issue",
        "parameters": [
          {
            "identifier": "repository",
            "name": {
              "value": "Repo Path"
            },
            "description": {
              "value": "The path to the GitHub repo, like owner/repo or https://github.com/owner/repo."
            },
            "type": "string",
            "required": true,
            "multiple": false
          },
          {
            "identifier": "query",
            "name": {
              "value": "Search query"
            },
            "description": {
              "value": "Filter for specific issues (e.g. state:closed). See our Documentation link above for more information."
            },
            "type": "string",
            "required": false,
            "multiple": true
          }
        ]
      },
      {
        "url": "/v1/getPullRequests?ownerName=&repository={repository}&spaceKey={space.key}&contentId={content.id}&query={query}&mode={output.type}",
        "description": {
          "value": "Include a list of pull requests from GitHub"
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-github-to-confluence-cloud/include-pull-requests-list"
        },
        "icon": {
          "url": "/img/macro-icon-github.png"
        },
        "categories": [
          "development", "external-content", "reporting"
        ],
        "outputType": "block",
        "bodyType": "none",
        "renderModes": {
          "default": {
            "url": "/v1/getPullRequests?ownerName=&repository={repository}&spaceKey={space.key}&contentId={content.id}&query={query}&mode={output.type}"
          }
        },
        "aliases": [
          "include-github-pull-request"
        ],
        "name": {
          "value": "GitHub Pull Requests"
        },
        "key": "github-pull-request",
        "parameters": [
          {
            "identifier": "repository",
            "name": {
              "value": "Repo Path"
            },
            "description": {
              "value": "The path to the GitHub repo, like owner/repo or https://github.com/owner/repo."
            },
            "type": "string",
            "required": true,
            "multiple": false
          },
          {
            "identifier": "query",
            "name": {
              "value": "Search query"
            },
            "description": {
              "value": "Filter for specific pull requests (e.g. base=target-branch-name&state=closed). See our Documentation link above for more information."
            },
            "type": "string",
            "required": false,
            "multiple": true
          }
        ]
      }
    ]
  }
}