Skip to content

Commit f39a0d2

Browse files
committed
feat(Crawler): look for 'md' as well as 'markdown'
1 parent ddc66eb commit f39a0d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/crawler/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ function getDetails(format, data) {
2323
const formatNormalised = format.toLowerCase();
2424

2525
switch (formatNormalised) {
26-
case 'md': {
26+
case 'md':
27+
case 'markdown': {
2728
return parseMarkdownToObject(data);
2829
}
2930

0 commit comments

Comments
 (0)