Add a markdown-view directive and change all uses of markdown in the partials to use the directive
This commit is contained in:
parent
96730965cd
commit
9beb627ab0
10 changed files with 83 additions and 89 deletions
1
static/directives/markdown-view.html
Normal file
1
static/directives/markdown-view.html
Normal file
|
@ -0,0 +1 @@
|
|||
<span class="markdown-view-content" ng-bind-html-unsafe="getMarkedDown(content, firstLineOnly)"></span>
|
Reference in a new issue