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

Auto detect code language plugin #3846

Open
Ray-D-Song opened this issue Nov 22, 2024 · 0 comments
Open

Auto detect code language plugin #3846

Ray-D-Song opened this issue Nov 22, 2024 · 0 comments

Comments

@Ray-D-Song
Copy link

Recently I made a fork of guesslang-js, use tensorflow.js to detect code language in browser.
I made esm and Web Worker support for it.

After testing, I think it's a viable solution. Maybe it can be integrated like hljs auto highlight?

You can try it here:
https://ray-d-song.github.io/guesslang-js/

Repo:
https://github.com/Ray-D-Song/guesslang-js

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

No branches or pull requests

1 participant