improve build process in markdown document