update how code samples are embedded (can't be any spaces)