feat($markdown): Support for Rust file extension

This commit is contained in:
Tore
2019-11-08 15:13:22 +01:00
committed by Franck Abgrall
parent 2a772fff1a
commit 73089a0446
+2 -1
View File
@@ -23,7 +23,8 @@ function getLangCodeFromExtension (extension) {
sh: 'bash',
yml: 'yaml',
styl: 'stylus',
kt: 'kotlin'
kt: 'kotlin',
rs: 'rust'
}
return extensionMap[extension] || extension