Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"hljs-source" needs to be changed to "source" in the README #76

Open
chaddjohnson opened this issue Sep 2, 2016 · 1 comment
Open

Comments

@chaddjohnson
Copy link

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:

<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.

@pc035860
Copy link
Owner

pc035860 commented Sep 2, 2016

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants