document markdown mode