Customers have installed this add-on in at least 93 active instances.
    by Bob Swift Atlassian Add-ons (an Appfire company)Atlassian Verified
    Bob Swift Atlassian Add-ons (an Appfire company) is an Atlassian Verified vendor. Verified vendors demonstrate Atlassian standards for add-on quality, reliability, and support.

    Learn more

    for Confluence Server 5.7 - 5.10.8 and more versions
    Versions available for Confluence Server 5.3 - 5.6.6
    This add-on isn't formally supported, but you can ask a question via Atlassian Answers.

    Ask a question

    Bob Swift Atlassian Add-ons (an Appfire company) supports this add-on.

    Get support

    Data Center
    This add-on is compatible with the clustering and high-availability capabilities of our products.

    Display your code. From any source. In real time

    Display your code. From any source. In real time

    Real Time Code View

    Source Locations

    Extends Code Macro

    With Code Pro, you get a real time view of your source in Confluence with source specific syntax highlighting. Avoid copy/pasting examples that quickly gets outdated. Reference repository code directly via URL.

    Options on where the source is located without having to copy/paste into Confluence in order to make it visible for your examples, tutorials, or other sharing needs. Source from urls, file system, and attachments.

    Code Pro compliments and extends the Confluence code macro with more options and customizations including Profiles, automatic title generation, and improved expand and collapse support.

    More details

    The Code Pro Macro extends the native code macro. The following features are included:

    • Source code can be from any of these sources:
      • Within your Confluence page (same as the code macro).
      • From an external URL. For example: Bitbucket, GitHub, or Stash.
      • From a file residing on the Confluence server. For example, a clone of a Git or Mercurial repository.
      • From a page attachment.
      • From a global or space template.
    • Syntax highlighting equivalent to code macro. Recognizes the same language extensions added to the code macro.
    • Supports all the current code macro parameters.
    • Expand and collapse support similar to the expand macro. Option to show or collapse on initial display.
    • Automatic title generation from the file or path name.
    • Profiles allow administrators to pre-configure access to repositories and hide access credentials
    • Enabled for Macro Security for Confluence to allow control of url and profile parameters.

    Compare Code with Code Pro

    User reviews

    Sign in to write a review »
    by geoslide on 2015-10-20
    This is great, tried the trial version and it gets the job done. We had our own hacky solution for pulling code snippets from version control and this seems a good candidate for a stable alternative. I can't for the life of me understand why code snippets from remote URLs aren't in Confluence itself, its mind boggling in this day and age of version control to have to copy paste code into the Wiki page itself. This way you can make sure your code samples in your dev environment are correct just once and not have to worry about combing the docs for outdated code examples. One addition or improvement suggestion: We need an easier way for creating new Developer Guide Spaces for each new version of the product/software. If we clone the Documentation space for each new version, one way would be to have a way of setting a profile to an entire Space so that when selecting a profile for a specific snippet the user can select "Same as Space" option for a profile. That way we could create different profiles with different root URLs for each version and set those profile to the corresponding spaces. Once we cloned the space, all we would have to do is change the profile and all the code snippets in the space would point to the correct version path...
    Was this review helpful?YesNo


    Pricing details are loading…

    Paid-via-Atlassian pricing FAQ

    How does server add-on pricing work?

    Server products and add-ons are hosted on your servers. Licenses are perpetual and the purchase price include 12 months of maintenance (support and version updates).

    You can renew maintenance after 12 months at 50% of the current purchase price. You can upgrade the tier of your host product and add-on licenses at any time. Upgrade prices are calculated based on Atlassian's formula (view example).

    If add-on pricing changes after your initial purchase, there's a 60-day grandfathering period during which you can renew based on the old pricing.

    How do I determine my server pricing tier?

    The add-on tier should match the licensed user tier of the Atlassian host application. For example, if you have a Confluence Server license for 25 users, you should purchase the 25-user tier for add-ons. Even if fewer users want to use the add-on than your host application license, the two licenses should match exactly.

    Do you offer academic, community, or open-source licenses?

    For server add-ons, purchase and renewal is half-price if you have an academic license for your Atlassian host application. Server add-ons are always free for community and open-source licenses. Cloud add-ons do not have discounted or free licenses.

    For more details about qualifying for special licenses, see here.

    Can I extend my free trial?

    For server add-ons, you can extend your add-on trial up to 5 times - in other words, for up to six months. Extend your trial by generating a new evaluation license key from Atlassian Marketplace. Click Try it free and you'll be directed to generate a new license. Paste this license key into the add-on listing in UPM from your Atlassian host application, and you're all set.

    How can I buy add-ons for my legacy JIRA Server or Confluence Server license?

    If you own a legacy JIRA Server Unlimited (100+ users) or Confluence Server Unlimited (2000+ users) license purchased in 2012 or earlier, legacy add-on pricing is no longer available. You have two options for add-on purchasing:

    • Purchase the add-on at the non-legacy Unlimited (10000+ users) tier.
    • Renew your JIRA or Confluence license at a non-legacy tier, then purchase the add-on at the same tier.

    Learn more


    Bob Swift Atlassian Add-ons (an Appfire company) is Atlassian Verified. Verified add-on vendors demonstrate high quality, reliability, and business traction. Learn more

    Bob Swift Atlassian Add-ons (an Appfire company) supports Code Pro for Confluence. You can visit the support site to get help.

    Get support


    Version 2.1.0 Confluence Server 5.7 - 5.10.8 Released 2016-09-26


    Test and support Confluence 6.0, library updates, and fixes


    1. Log into your Confluence instance as an admin.
    2. Click the admin dropdown and choose Atlassian Marketplace. The Manage add-ons screen loads.
    3. Click Find new add-ons from the left-hand side of the page.
    4. Locate Code Pro for Confluence via search. The appropriate add-on version appears in the search results.
    5. Click Try free to begin a new trial or Buy now to purchase a license for Code Pro for Confluence. You're prompted to log into MyAtlassian. Code Pro for Confluence begins to download.
    6. Enter your information and click Generate license when redirected to MyAtlassian.
    7. Click Apply license. If you're using an older version of UPM, you can copy and paste the license into your Confluence instance.

    To find older Code Pro for Confluence versions compatible with your instance, you can look through our version history page.

    Similar add-ons