I created a normal blank page and I'd like to paste a nicely formatted XML code (which has indents and is colored (blue, red). But generally after pasting the code has no colors How can I paste code and keep its original color?
Okay, the problem is that Confluence likes to strip that stuff out on purpose, that's a goal. If you are on Confluence Server (not Cloud) you can use the included HTML macro to paste in HTML code OR you can use the free add-on Source Editor to make some edits. I think that's about all you can do.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
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