Add a snippet for custom event handler marker annotation example