Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a custom code block macro?

Matthew Upchurch
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2019

for GitHub and every other markdown previewer I've used, formatted text that is code is always wrapped in ```code```, but when pasting a markdown file into a blank page in confluence, the previewer does not interpret it correctly. 

How do signify to confluence that this text is a code block?

1 answer

0 votes
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2019

The code-block-macro is your friend.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events