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

added by the LSP
This commit is contained in:
2025-05-09 23:13:31 -05:00
parent ef1809970b
commit e8eb22f3ae

View File

@@ -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>"