Skip to content

Commit 28dd64a

Browse files
authored
Merge pull request #26 from codacy/add-markdown
Add markdown
2 parents 3eeb31e + 1a03cb6 commit 28dd64a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/scala/com/codacy/plugins/api/languages/Language.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ object Languages {
121121
Kotlin,
122122
Powershell,
123123
Solidity,
124-
OCaml)
124+
OCaml,
125+
Markdown)
125126

126127
// Support startdate: always
127128
case object Javascript extends Language(extensions = Set(".js", ".jsx", ".jsm", ".vue"))
@@ -227,6 +228,10 @@ object Languages {
227228
case object Powershell
228229
extends Language(extensions = Set(".ps1", ".psc1", ".psd1", ".psm1", ".ps1xml", ".pssc", ".cdxml", ".clixml"))
229230

231+
// Support startdate: September 2018
232+
case object Markdown
233+
extends Language(extensions = Set("md", "markdown", "mdown", "mkdn", "mkd", "mdwn", "mkdown", "ron"))
234+
230235
// Soon
231236

232237
case object Clojure extends Language(extensions = Set(".clj", ".cljs", ".cljc", ".edn"))

0 commit comments

Comments
 (0)