File tree Expand file tree Collapse file tree
programming-languages/docs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def get_lang_from_path(filepath):
7070
7171print (get_lang_from_path(' steam.vdf' )) # => Valve Data Format
7272print (get_lang_from_path(' Sublime.sublime-snippet' )) # => XML
73- print (get_lang_from_path(' README.md' )) # => None (use prose-languages pkg)
73+ print (get_lang_from_path(' README.md' )) # => [] (use prose-languages pkg)
7474```
7575
7676<hr >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def get_lang_from_path(filepath):
7070
7171print (get_lang_from_path(' index.html' )) # => HTML
7272print (get_lang_from_path(' style.css' )) # => CSS
73- print (get_lang_from_path(' script.js' )) # => None (use programming-languages pkg)
73+ print (get_lang_from_path(' script.js' )) # => [] (use programming-languages pkg)
7474```
7575
7676<hr >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def get_lang_from_path(filepath):
7070
7171print (get_lang_from_path(' main.rs' )) # => Rust
7272print (get_lang_from_path(' script.kt' )) # => Kotlin
73- print (get_lang_from_path(' data.avsc' )) # => None (use data-languages pkg)
73+ print (get_lang_from_path(' data.avsc' )) # => [] (use data-languages pkg)
7474```
7575
7676<hr >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def get_lang_from_path(filepath):
7070
7171print (get_lang_from_path(' document.adoc' )) # => AsciiDoc
7272print (get_lang_from_path(' README.md' )) # => Markdown
73- print (get_lang_from_path(' index.mdx' )) # => None (use markup-languages pkg)
73+ print (get_lang_from_path(' index.mdx' )) # => [] (use markup-languages pkg)
7474```
7575
7676<hr >
You can’t perform that action at this time.
0 commit comments