Is it possible to display Source Code contents in the Wiki but as a reference to an actual file in Subversion?
I know that I could just copy the source code content and paste is as Code in the Wiki however, if the source code changes I don't want the stale code to be displayed in the Wiki.
May be you can use the {html} macro and use an iframe inside that which points to the source code url. But am not sure whether this is possible in OnDemand?
Thanks Renjith for the suggestion. I couldn't seem to find a generic HTML macro (only html table, comment etc.). Perhaps this is an OnDemand limitation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's right. We don't allow ways to include arbitrary HTML in OnDemand. Unfortunately there's no good way I can think to achieve this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok. Is there a way I can log an enhancement request? Would this be a feature that would be useful to anyone else?
I know many programming purests (even those that have written books) hate the idea of including code as text that is not controlled by Continuous Integration. How often do you read technical books that have code that doesn't actually work? The lack of embedded source code integration with source control systems is the reason for this. Perhaps Atlassian could lead this innovation for Wiki or do 3rd party macros already exist that do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Confluence is very weak at displaying source code imho. For years I've been using a wordpress plugin where you specify a url in your <pre> tag and it pulls the code from the url, which is usually a subversion url.
I completely agree about pasting in code, so, if you create an RFE, I'll vote for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.