git.iko.soy/typeable/pandoc
on master help sign in
Execute .js filters with node
commit06fa6986d1ed02538b574778bff99354b84eb97b authorJakob Voß <jakob@nichtich.de> dateFri 30 Sep 2016, 07:20 (10 years ago) parent6b2bb8f
1 file changed+1
pandoc.hs+1
pandoc.hs+1
@@ -139,6 +139,7 @@ externalFilter f args' d = do
139139 ".pl" -> ("perl", f:args')
140140 ".rb" -> ("ruby", f:args')
141141 ".php" -> ("php", f:args')
142+ ".js" -> ("node", f:args')
142143 _ -> (f, args')
143144 else err 85 $ "Filter " ++ f ++ " not found"
144145 when (f' /= f) $ do