Support dynamic header length
Change md2html method to convert all markdown document