Open chaddjohnson opened 8 years ago
Looking at the live example, it looks like hljs-source does not work and source must be used instead. Here is what I ended up with which works:
hljs-source
source
<div hljs hljs-language='json' source="'{{queueDataModal.queueData | json}}'"></div>
If you'd like me to do this and submit a pull request, let me know.
I think it's just a an example code mistake. Both hljs-source and source should work.
See this example http://plnkr.co/edit/WCmBTQ?p=preview
You can submit a PR for the example code correction, thanks!
Looking at the live example, it looks like
hljs-source
does not work andsource
must be used instead. Here is what I ended up with which works:If you'd like me to do this and submit a pull request, let me know.