revert buffer
add markdown config