core: improve markdown parsing and recognise URIs (#352)

This commit is contained in:
Evgeny Poberezkin
2022-02-22 18:18:35 +00:00
committed by GitHub
parent efa22715d5
commit 48dbd079cf
3 changed files with 76 additions and 47 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ sgr = \case
StrikeThrough -> [SetSwapForegroundBackground True]
Colored (FormatColor c) -> [SetColor Foreground Vivid c]
Secret -> [SetColor Foreground Dull Black, SetColor Background Dull Black]
Snippet -> []
_ -> []
unStyle :: StyledString -> String
unStyle (Styled _ s) = s