When displaying comments and descriptions for projects or stories,
render the content as Markdown before displaying it. This is a
simple way to support rich text descriptions and comments, and
there is no special editor as yet.
Any code in the supplied Markdown (indented by 4 spaces) will have
its syntax highlighted. The `highlightjs` module is used for syntax
highlighting and the `marked` module is used for parsing the
Markdown.
Also, stop eslint from raising an error when it thinks something is
undefined, and raise a warning instead. This is because the use of
`hljs` and `marked` was confusing the linter into thinking they
weren't defined.
Change-Id: I7896fd686a39e27f8068ee6db6747b2b5ab0ccfc
eslint is not weighted down by the 'do no evil' license that plagues
jshint and jslint. It also replaces lintspaces. Some rules have been
explicitly deactivated and addressed in future patches.
Change-Id: I17ce9ea6c050563981dbd0d708cb8f3ec8bdbc76