Closed whisher closed 10 years ago
Hi @whisher ,
You may choose to use either source
directive or include
directive to achieve what you want.
<div hljs source="myHTMLSource"></div>
http://pc035860.github.io/angular-highlightjs/example/#/hljs-source
<div hljs include="'path-to-the-file.html'"></div>
http://pc035860.github.io/angular-highlightjs/example/#/hljs-include
Hi Chih-Hsuan, thanks it works great.
Bye
On 20 July 2014 11:39, Chih-Hsuan Fan notifications@github.com wrote:
Hi @whisher https://github.com/whisher ,
You may choose to use either source directive or include directive to achieve what you want. hljs + source
http://pc035860.github.io/angular-highlightjs/example/#/hljs-source hljs + include
http://pc035860.github.io/angular-highlightjs/example/#/hljs-include
— Reply to this email directly or view it on GitHub https://github.com/pc035860/angular-highlightjs/issues/27#issuecomment-49541831 .
Hi, sorry to bother you. Is there a way to use your nice module with a html page ?
like:
now if I do
I get
:(