I'm importing html code into a confluence page using the HTML macro. Can I modify the html code to display code examples so they display onscreen as if contained inside a code block?
Are you displaying a remote page, or inline HTML?
You could likely do this with some custom CSS to modify the html presentation. https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS
Then it is just a matter of formatting your html in the html macro to work with the syntax highlighter. Is this what you are looking for?
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