add markdown syntax for span elements