Text inserted into the code block macro must be manually typed or pasted in. It is not possible to link to a file.
I've created a feature request a while back to be able to drag and drop a file or text into the macro. If you're interested, please vote on it and watch it for further updates:
Thanks for your response! I saw your request and although that is interesting (I upvoted it) it is not what I am looking for. I actually want to be able to pull in current file contents from a link.
I thought someone might tell me there is another macro I should be using, since this seems like an obvious feature.
I added CONFSERVER-54394 address this.
Hello Community, Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...
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