feat(comments): add support for paragraphs

feat(comments): Create global filter instead of inline function

feat(comments): Move template creation into html