We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_lang_from_path('index.html')
1 parent ce4973c commit de63f38Copy full SHA for de63f38
1 file changed
markup-languages/docs/README.md
@@ -68,7 +68,7 @@ def get_lang_from_path(filepath):
68
]
69
return lang_matches[0] if len(matches) == 1 else lang_matches
70
71
-print(get_lang_from_path('index.html')) # => HTML
+print(get_lang_from_path('index.html')) # => ['Ecmarkup', 'HTML']
72
print(get_lang_from_path('style.css')) # => CSS
73
print(get_lang_from_path('script.js')) # => [] (use programming-languages pkg)
74
```
0 commit comments