add markdown replace for doc