How to define a macro via Package Extension?

I actually found that you can extend macros by importing them.
import MyPackage: @mymacro
you then can extend the method table of the macro by defining simply

macro mymacro(#= ... =#)
    # ...
end
2 Likes