add markdown method