add customised html generator by knitr and hwriter