Factor markup? || gitlab_markdown? into new method

This pattern deserves a method for it: it is very intuitive.