Add option for border/header to indicate that page content is from a repo

Issue #41 resolved
Liz Gray created an issue

When I was showing the Git plugin off to one of our developers, he noted "I wish it gave you some indication that the page was from GHE."

I agree that it'd be nice to have the option to frame Git content in such a way that readers know the content is being shared from another location. I've attached a screenshot of what it looks like to put the Git macro inside of the Panel macro as an example of what we'd love to see. Ideally, you could also click on the header and be taken to the page in Github Enterprise, as well.

Thanks again for adding the ability to parse Markdown. Your response to that request completely sold us on the product.

Comments (13)

  1. Tomas Theunissen

    Sounds like a good feature! I'll plan a discussion with @mitchelkuijpers and one of our (ux) designers to see how we can make it visible.

    The linking bit might be a bit harder if we want to support all the Git hosting apps (Stash, Github, Github Enterprise, Bitbucket, ...). If we can find a way to generate the URL regardless of the app and use a preconfigured base URL for the repository, then it should be possible. We will have to check that out.

    If you have any other idea's, features or bugs, please let us know!

  2. Liz Gray Account Deactivated reporter

    You guys are so quick to respond. It's amazing. Thank you, and please let me know if you'd like us to test out new functionality for you.

  3. Tomas Theunissen

    Our UX designer has taken a look at the feature request and suggests we keep the visual style of markdown files close to the visual style of other embedded code blocks. Here is a preview of what that would look like:


    What do you think about this solution?

    We’re going to have a look at including file paths and linking to the repository apps another time as we want to be sure that this is possible for all Git repositories.

  4. Liz Gray Account Deactivated reporter


    Makes sense and looks right to me! Even if it isn't an actual link, it'd be nice to list the full path in the filename so anyone who needed to edit the content would know where to navigate to.

  5. Mitchel Kuijpers

    Hi Liz,

    Sorry, we had a very busy time planning a party at our company (and it was the holiday season), because in two weeks we exist 15 years! We will get more time after the party (and after our hangovers are gone) so you can expect a git-for-confluence update after the party. This will be in +- 3 weeks :)

  6. Liz Gray Account Deactivated reporter

    Congratulations on 15 years! That's pretty old in SaaS terms. :) I can definitely hold on for another few weeks. Thanks for the update. Be sure to drink lots of water.

  7. Tomas Theunissen

    Hi Liz,

    We just implemented this feature. By default the macro will display the Markdown files as they do now. But you can enable it with the 'Render panel' checkbox (see attached screenshot). We did not add the 'Last modified' bit, since we currently do not know when the file itself has actually been changed (we might add this later though).

    We will release a version with this feature in the following days.

  8. Tomas Theunissen

    Your welcome! As always, if you have any more suggestions or improvements, just let us know!

  9. Log in to comment