HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

Auto detect language in code snippet #1492

Open benjo456 opened 2 years ago

benjo456 commented 2 years ago

Currently its required to manually select the language of a code snippet using the drop down menu.

Please add an 'auto detect' feature to detect which language to use based on snippet provided. This is similar to how Vscode is able to auto detect language via analysis of constructs used.

Prewritten libraries exist to achieve this, such as https://github.com/ts95/lang-detector