change markdown type