I am trying to use a HighlightJS directive on <pre>
blocks rendered by a Markdown directive.
Here is an plunker recreating the problem:
http://plnkr.co/edit/qZlMkjNZglV453caNphy?p=preview
In this example:
<btf-markdown>
#Markdown directive
<pre hljs>
angular.forEach($scope.items,function(item){
console.log(item);
});
</pre>
</btf-markdown>
I would expect the <pre>
block to get parsed by hljs
but does not.
Do I have to manually invoke the compilation of the inner directive?