We've just installed 5.0.3 and I'd like to insert a link that looks like this:
with the title 'Copy jdbc url from here'.
But this doesn't work and when I use the Insert Link method. It tells me the link is invalid unless I prepend it with http://- but this of course breaks the link.
How can I do this without putting a lot of messy urls on the page?
P.S: I tried adding a small bounty but the karma offered in the end was 5 times what I entered so I've cancelled until I figure that out..
That's because it's not really a proper http based url, so Confluence can't understand it as a link.
I don't think you can do this without some code to tell Confluence "this is a non-standard link, please treat it the same way as an http url". I'd try doing that in a user macro though - I have seen this done before, but I'm not 100% sure it was with a user macro or a plugin macro.
Thanks Nic Brough. I've gone through the default macros and haven't found anything like that. Like I say, I could include them fully expanded like above but they page would look terrible. Maybe I could use some other form of hiding - like the cloak macro - but nothing would beat linking.
Thing is, it's NOT a link, it's a block of text that you want to format differently to other blocks of text.
Have another look at the user macros - you can use them to wrap formatting around blocks of text. Not the existing ones, but writing one for yourself - https://confluence.atlassian.com/display/DOC/Writing+User+Macros
Thanks Nic, that's a good failsafe option. I'll try the cloak macro first and failing that I guess I'm looking at creating a macro.
It's not a link, but it is a url. It would be great to have support for it for technical projects like ours. I'll take a look at your link, thank you.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs