@@ -166,7 +166,9 @@ convertWithOpts opts = do
166166 -- disabling the custom writer for now
167167 writer <- if ".lua" `isSuffixOf` format
168168 -- note: use non-lowercased version writerName
169− then error "custom writers disabled for now"
169+ then return (StringWriter
170+ (\o d -> liftIO $ writeCustom writerName o d)
171+ :: Writer PandocIO)
170172 else case getWriter writerName of
171173 Left e -> err 9 $
172174 if format == "pdf"