Problems using the {embedded} macro

We were trying to embed the content of an .sql file into a confluence page but it didn't work. We dont't receive any error messages and are also unable to find a propper documention of the macro's usage.

Could you help us out with our problem? Are there any other ways to include .txt or .sql file content into a confluence page?

Thanks a lot in advance!

Best regards,

Lukas Gruber

PS: Please find attached a screenshot of the macro we were trying to use.

2 answers

1 accepted

Thank you for yourl help. I found out it is a third party extension which provides this obviously faulty macro, so I won't be using it.

Best regards!

have you try the {code} macro? You could do something like:

{code:sql}
Paste your SQL queries here
{code}

For plain text files I recommend you to use the {noformat} macro

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

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 ...

974 views 23 12
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you