add markdown gram document