Are you trying to convert them into Confluence backed web-pages, or just attachments?
Or do they make up a web-application in themselves? (If it's this, then the answer is "don't" - you don't want to run any applications in the same container as Confluence)
If they are just attachments of code (for reference, learning, ect.) you should use the "Code Block" Macro. This will allow you to set your Syntax to HTML or Java for you to insert code. If you are trying to do something else, I wouldn't recommend it and I can't help with that.
More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...
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