From 271607845727c7e439a949c0f9019d6aad47cfd5 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Fri, 12 Nov 2021 16:26:30 +0100 Subject: [PATCH] Breaking: remove support of alternative file extensions Now only supports md and markdown. Not mdown, mkdn, mkd, mdwn or mkdown. --- index.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/index.js b/index.js index fe587a3..b3ae3a6 100644 --- a/index.js +++ b/index.js @@ -64,16 +64,7 @@ function hallmark (options, callback) { engine({ processor, - extensions: [ - // TODO (next major): only support md and markdown - 'md', - 'markdown', - 'mdown', - 'mkdn', - 'mkd', - 'mdwn', - 'mkdown' - ], + extensions: ['md', 'markdown'], color, files, cwd,