Skip to content

Commit de63f38

Browse files
committed
Updated get_lang_from_path('index.html') output comment
1 parent ce4973c commit de63f38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

markup-languages/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def get_lang_from_path(filepath):
6868
]
6969
return lang_matches[0] if len(matches) == 1 else lang_matches
7070

71-
print(get_lang_from_path('index.html')) # => HTML
71+
print(get_lang_from_path('index.html')) # => ['Ecmarkup', 'HTML']
7272
print(get_lang_from_path('style.css')) # => CSS
7373
print(get_lang_from_path('script.js')) # => [] (use programming-languages pkg)
7474
```

0 commit comments

Comments
 (0)