Added pragmas to suppress LSP warnings; removed a random line that was

added by the LSP
master
Aadhavan Srinivasan 1 week ago
parent ef1809970b
commit e8eb22f3ae

@ -1,4 +1,6 @@
{-# LANGUAGE InstanceSigs #-}
{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-}
{-# HLINT ignore "Use lambda-case" #-}
module MdToHTML where
@ -40,7 +42,6 @@ data MdToken
-- Deriving Show for MdToken
instance Show MdToken where
show :: MdToken -> String
show (Document tokens) = concatMap show tokens
show (Header level token) = "<h" ++ show level ++ ">" ++ show token ++ "</h" ++ show level ++ ">"
show (Para token) = "<p>" ++ show token ++ "</p>"

Loading…
Cancel
Save