diff --git a/.eslintrc b/.eslintrc index 64dcb316..dff941d1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -49,10 +49,11 @@ "no-trailing-spaces": 2, "camelcase": 0, "no-extra-boolean-cast": 0, + "no-undef": 1, // Stylistic "indent": [2, 4], "max-len": [2, 80], "no-undefined": 2 } -} \ No newline at end of file +} diff --git a/Gruntfile.js b/Gruntfile.js index a2b403e3..fc2f84e5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -149,7 +149,8 @@ module.exports = function (grunt) { dir.theme + '/custom/', dir.theme + '/storyboard/', dir.bower + '/bootstrap/less/', - dir.bower + '/font-awesome/less/' + dir.bower + '/font-awesome/less/', + dir.bower + '/highlightjs/styles/' ]; }, cleancss: true, diff --git a/bower.json b/bower.json index 92e307d5..e5c4c7bd 100644 --- a/bower.json +++ b/bower.json @@ -13,7 +13,9 @@ "angular-elastic": "2.4.2", "angular-moment": "0.9.0", "angular-cache": "3.2.5", - "angularjs-viewhead": "0.0.1" + "angularjs-viewhead": "0.0.1", + "marked": "0.3.4", + "highlightjs": "8.4" }, "devDependencies": { "angular-mocks": "1.3.13", diff --git a/src/app/projects/template/detail.html b/src/app/projects/template/detail.html index 2980b633..4b00bf9a 100644 --- a/src/app/projects/template/detail.html +++ b/src/app/projects/template/detail.html @@ -46,9 +46,9 @@
- {{project.description}}
-
+
{{event.comment.content}} -
+diff --git a/src/app/stories/template/detail.html b/src/app/stories/template/detail.html index 0b529584..d876a8da 100644 --- a/src/app/stories/template/detail.html +++ b/src/app/stories/template/detail.html @@ -38,7 +38,6 @@ + + diff --git a/src/theme/base/discussion.less b/src/theme/base/discussion.less index 2af5ad5f..86a6acad 100644 --- a/src/theme/base/discussion.less +++ b/src/theme/base/discussion.less @@ -36,7 +36,7 @@ padding: @table-condensed-cell-padding; } - > p { + > insert-markdown > div, > p { padding: @table-cell-padding; padding-bottom: 0px; } diff --git a/src/theme/main.less b/src/theme/main.less index f599407e..1b353f56 100644 --- a/src/theme/main.less +++ b/src/theme/main.less @@ -24,6 +24,7 @@ @import './bootstrap.less'; @import './base/bootstrap/navbar.less'; @import './font-awesome.less'; +@import (less) './default.css'; // Theme @import './theme.less';