add media class to markdown images