Auto detect code language plugin
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13k
- Forks
- 1.4k
- Avg merge
- 15h 36m
- Merged PRs (30d)
- 3
Description
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/
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked guesslang-js repository and browser demo to understand the proposed ESM and Web Worker support. Compare that proposal with Prism's plugin integration points, then define what an integrated automatic language-detection plugin would need to support and how its completion could be verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100