From e8eb22f3aeb665531605b57d8119f91d80b0329f Mon Sep 17 00:00:00 2001 From: Rockingcool Date: Fri, 9 May 2025 23:13:31 -0500 Subject: [PATCH] Added pragmas to suppress LSP warnings; removed a random line that was added by the LSP --- src/MdToHTML.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MdToHTML.hs b/src/MdToHTML.hs index 6408fb6..86557ce 100644 --- a/src/MdToHTML.hs +++ b/src/MdToHTML.hs @@ -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) = "" ++ show token ++ "" show (Para token) = "

" ++ show token ++ "

"