Convert html to  plain text with beauty format in browser, inspired by https://github.com/werk85/node-html-to-text