Add html code preview and comments

Issue #4