Trying to make regex and markdown play nicely