File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11This is a lightweight library that allows users to automatically detect the coding language of an
2- input text. The library is based off of [ highlight.js ] ( https://github.com/highlightjs/highlight.js ) ' language detection.
2+ input text.
33
44The current implementation is far from perfect, and will sometimes misidentify the language of a code snippet. Longer
55code snippets are more likely to be correctly identified.
@@ -12,6 +12,7 @@ code snippets are more likely to be correctly identified.
1212 * [ sbt] ( https://github.com/Valkryst/VCodeLanguageDetection#-scala-sbt )
1313* [ Usage] ( https://github.com/Valkryst/VCodeLanguageDetection#usage )
1414* [ Supported Languages] ( https://github.com/Valkryst/VCodeLanguageDetection#supported-languages )
15+ * [ Credits & Inspiration] ( https://github.com/Valkryst/VCodeLanguageDetection#credits--inspiration )
1516
1617## Installation
1718
@@ -145,4 +146,8 @@ private String detectSyntaxStyle(final @NonNull String code) {
145146* PHP
146147* Python
147148* Ruby
148- * SQL
149+ * SQL
150+
151+ # Credits & Inspiration
152+
153+ * [ highlight.js] ( https://github.com/highlightjs/highlight.js ) - For the lists of keywords for each language.
You can’t perform that action at this time.
0 commit comments