Creating tables in custom macro

Hi guys

Recently I followed the “Creating a new Confluence macro” tutorial ( and had some questions.

As you see under the tutorial overview, you have a small table which is the result. How can I create a table which looks like a Confluence table? Now it does not look like a table we can create in Confluence at all…

Does someone has documentation/information on how to use parameters from a macro property panel (like here: And on which types of parameters can be used?

Sorry if this is all make sense to you, but I did not find anything at all which answer my questions in the documentation.

Thanks for your time and answers.