Documentation: Explain macro array support, repeat_key, add icmp example

fixes #7868
fixes #7867