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

JavaScript hexadecimal values (A-F) are not highlighted #37

Closed
xem opened this issue Sep 17, 2012 · 1 comment
Closed

JavaScript hexadecimal values (A-F) are not highlighted #37

xem opened this issue Sep 17, 2012 · 1 comment

Comments

@xem
Copy link

xem commented Sep 17, 2012

var a = 0x012345; // Correctly highlighted :)
var b = 0xABCDEF; // Not highlighted :(

Thanks (for the fix), and thanks (for this great tool)!

@apfelbox
Copy link
Contributor

The prism version used in the github pages (https://github.com/LeaVerou/prism/blob/gh-pages/prism.js#L397) does support Infinity, NaN, numbers and hexadecimal numbers. All other version are out of sync (and do not have these features).

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

3 participants