wrap <samp> around directory reference