optional selection wrapping of markdown images or links