
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
29 lines
685 B
JSON
29 lines
685 B
JSON
{
|
|
"name": "storyboard-webclient",
|
|
"version": "0.0.1",
|
|
"dependencies": {
|
|
"font-awesome": "4.3.0",
|
|
"angular": "1.3.13",
|
|
"angular-resource": "1.3.13",
|
|
"angular-sanitize": "1.3.13",
|
|
"bootstrap": "3.3.2",
|
|
"angular-ui-router": "0.2.13",
|
|
"angular-bootstrap": "0.12.0",
|
|
"angular-local-storage": "0.1.5",
|
|
"angular-elastic": "2.4.2",
|
|
"angular-moment": "0.9.0",
|
|
"angular-cache": "3.2.5",
|
|
"angularjs-viewhead": "0.0.1",
|
|
"marked": "0.3.4",
|
|
"highlightjs": "8.4"
|
|
},
|
|
"devDependencies": {
|
|
"angular-mocks": "1.3.13",
|
|
"angular-scenario": "1.3.13"
|
|
},
|
|
"resolutions": {
|
|
"angular": "1.3.13",
|
|
"font-awesome": "4.3.0"
|
|
}
|
|
}
|