You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to highl...@googlegroups.com
Hi,
has anyone tried/managed to make highlight.js working with AngularJS, for example highlighting code in blocks generated by ng-repeat?
I know I need to call highlight after the DOM is ready and I am trying to make it work - I would love to see a working example. Anyone wants to share?
Thank you and have a nice day.
Ivan Sagalaev
unread,
Oct 10, 2012, 11:04:55 PM10/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to highl...@googlegroups.com
Sorry, I can't say anything about angular.js in particular but marrying
highlight.js with any other framework shouldn't be a problem. If hooking
up to the DOM ready event is not an option you can always manually call
`hljs.highlightBlock()` for every code block whenever it appears on the
page.